JSFiddle - React, Tailwind, and code Playground

HTML

<button>Here's a long chunk of text</button>

CSS

button {
    width: 80px;
    overflow: hidden;
}