The fastest way to build beautiful, responsive, and accessible user interfaces on the web today.
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-full transition">
Click Me
</button>
Tailwind CSS is a CSS framework that lets you build custom layouts quickly using pre-defined utility classes.
npm install tailwindcss
tailwind.config.js
This is a sample card component
Instead of writing CSS, apply utility classes directly to your HTML elements to style them.
.text-pink-500 .p-4 .rounded-lg
vs traditional CSS
"Style by class, not by CSS"
Build responsive layouts with ease using Tailwind's 7 breakpoints and 6 column grid system.
Column 1
Column 2
Column 3
Start with pre-built configurations for common UI patterns and design systems.
Use Tailwind to style SVGs the same way you style HTML.
Switch between light and dark modes using responsive utility classes or theme toggle.
Tailwind is fully customizable to fit your design system or brand.
Join our Discord to ask questions and share ideas with thousands of fellow developers.
Star the project on GitHub and help support the continued development of Tailwind.