Buttons

Ready to use Tailwind CSS button components with production-ready, copy-paste HTML code. Use them as they are, or as a starting point to build beautiful websites.

Buttons are everywhere in a UI and the details really do matter, size, color, rounding, whether they have an icon, whether they look right when disabled. We have a solid set here covering the main styles you'll actually need: solid fills, outlines, soft/light backgrounds, icon-only, icon-plus-label, loading states, and a few with dropdown arrows. They come in different sizes too. All Tailwind CSS, no dependencies, just copy what you need.

Tailwind

Frequently asked questions

Solid fill, outline/ghost, soft background, icon-only, icon-with-label, loading spinner state, and a few with a dropdown caret. Multiple sizes across most styles.

Yes. Just swap the button element for an anchor tag and keep the same classes. Tailwind classes work the same on any element.

Most buttons use color utility classes like bg-indigo-600 or bg-pink-500. Just swap those for whatever color from the Tailwind palette you want, or define your own.

Yes. The code includes focus-visible and hover classes so they're keyboard accessible and feel interactive.

Related Tailwind CSS components

More free, copy-paste Tailwind CSS components to use in your projects.