Tailwind CSS

Tailwind CSS

Utility-first CSS framework in TypeScript and Rust for building custom responsive user interfaces directly in your markup.

★ 99.1K

Style responsive user interfaces without fighting cascading stylesheet side effects

Every growing codebase eventually hits the point where editing a `.card-wrapper` class in a global stylesheet accidentally breaks three unrelated pages across the site. Tailwind CSS replaces fragile semantic class hierarchies with composable utility classes applied directly in your HTML, JSX, or Vue templates. Carrying 99.1K GitHub stars, 6,300 forks, and over 16 million dependent repositories under the MIT license, it is the dominant styling engine for modern web apps and AI code generators.

What makes Tailwind CSS v4 so fast

  • A hybrid TypeScript and Rust engine (`Oxide`) scans your templates and compiles incremental CSS updates in microseconds.
  • CSS-first configuration (`@theme`) lets you define custom design tokens, fluid typography, and dark-mode variables directly inside standard CSS files.
  • Automatic tree-shaking emits only the exact utility classes your templates actually use, keeping production CSS bundles under 10KB compressed.
  • Inline responsive, hover, focus, and container-query modifiers (`@md:flex`, `dark:bg-slate-900`) remove the need to write manual `@media` blocks.

How to keep markup readable

Long utility strings can clutter templates if repeated across dozens of buttons, so extract reusable UI primitives into React, Svelte, or Astro components rather than abusing `@apply`. Install `@tailwindcss/vite` in your frontend project today to build constrained, responsive layouts at full speed.

Ready to try Tailwind CSS?

Experience the full capabilities on their official website.

Visit Official Website