Design & media

Tailwind CSS

AI-assisted editorial review:

Tailwind CSS is an open-source, utility-first CSS framework created by developer Adam Wathan and first released in 2017.[2][3] Instead of writing separate style rules, you combine short single-purpose classes such as text-lg or bg-blue-500 directly in your HTML to style each element.[1] In the State of CSS 2024 survey, it was the most-used CSS framework among respondents.[7]

What does Tailwind CSS mean in simple terms?

The traditional way to style a web page is to create a separate CSS file and write a rule such as .card-title { font-size: 18px; color: blue; }, then attach that name to the HTML. With Tailwind CSS you write short words like text-lg text-blue-500 right on the element, and the look changes immediately. You do not have to invent class names or switch between files, and a utility class is applied directly to the chosen element, although layout changes and inherited properties can also affect surrounding or nested content.[1] The values come from a fixed set (a type scale, a colour palette, a spacing scale), which keeps screens consistent. Tailwind's own docs say these benefits matter on small projects and even more for teams maintaining large, long-running projects.[1] AI interface tools such as Vercel's v0 generate code with Tailwind CSS and shadcn/ui, which makes Tailwind useful to understand when editing their generated screens.[9][10]

How can Tailwind CSS be explained with an analogy?

Tailwind is like a clothing store where every item comes in standard sizes and colours. You do not sew a new outfit each time; you pick pieces off the rack and combine them, so different people still end up with outfits that match.

Where is Tailwind CSS used?

Case 1

OpenAI / ChatGPT — Listed in the official showcase

Tailwind's official showcase lists "OpenAI / ChatGPT" with the description "Marketing website & chat interface".[8] The same page also lists sites such as Shopify, Vercel, Cursor and NASA's Jet Propulsion Laboratory.[8] The showcase confirms use but does not say how much of each site relies on Tailwind.
Result: Listed by Tailwind Labs as built with Tailwind CSS (no usage share published).[8]

Case 2

Vercel v0 — AI-generated screens in Tailwind

Vercel's v0 turns a text description into a user interface. Vercel explained in October 2023 that v0 produces code using open-source tools such as React, Tailwind CSS and shadcn/ui, and that users copy the result into their own app and keep developing from there.[9] Vercel said 100,000 people joined the waitlist in three weeks.[9] Because the output is ordinary Tailwind code, a developer can edit AI-generated screens with the same classes as hand-written ones.
Result: 100,000 waitlist registrations in three weeks (Vercel, October 2023).[9]

Case 3

State of CSS 2024 — Most-used framework in the survey

In the State of CSS 2024 survey, 3,657 of the 4,890 respondents who answered the CSS framework question said they used Tailwind CSS, ahead of Bootstrap at 2,623.[7] The survey describes Tailwind as forging its own path far ahead of more traditional competitors.[7] Survey respondents are self-selected CSS developers, so the numbers show popularity in that community rather than market share across all websites.
Result: About 75% of framework-question respondents used Tailwind CSS (3,657 of 4,890).[7]

Why it spread

First, it fits AI-assisted development. Tools such as v0 generate interfaces as React, Tailwind CSS and shadcn/ui code, so the output can be pasted straight into a project.[9]

Second, it pairs with shadcn/ui. shadcn/ui components are styled with Tailwind CSS utility classes, and its June 2023 CLI documentation described Tailwind configuration during setup. Check the current setup guide for your Tailwind version.[10]

Third, it lowers the barrier for non-specialists. You do not need to master selectors to get a result: words like rounded-lg shadow-md p-4 change the screen right away, and the values come from a predefined scale.[1] This makes it easier for planners and founders to adjust screens themselves.

Try it today

  1. Open Tailwind Play (play.tailwindcss.com), paste a card example from the docs, and change one class at a time, such as p-6 to p-8.[1]
  2. Ask an AI interface tool to generate a simple screen and read the class names in the code it returns.[9]
  3. Put your brand colours and fonts into theme variables (@theme) so everyone picks from the same values.[6]
  4. When the same list of classes repeats across files, turn it into a component instead of copying it.[1]
  5. If a project still uses v3, read the official upgrade guide before moving to v4.[6]

Limits and direction

Putting many classes in the markup goes against the traditional rule of separating content and style; Tailwind's creator argued for the approach in 2017, and the debate continues.[2] Long class lists can be hard to read, and the docs recommend loops, components or a small amount of custom CSS to manage duplication.[1] Tailwind does not make design decisions for you: brand rules and usage guidelines are still a design-system job. Major versions also change how you work. v3.0 made the just-in-time engine the default, and v4.0 rewrote the engine and moved configuration from a JavaScript file into CSS, so check the version before following a tutorial.[5][6]

How has Tailwind CSS evolved?

2017
First release
Adam Wathan explained the utility-first approach in an August 2017 essay, and v0.1.0 was tagged on GitHub on November 1.[2][3]
2021-12-09
v3.0: just-in-time by default
The just-in-time engine, introduced as an experiment in March 2021, replaced the classic engine in v3.0.[4][5]
2023-10-11
AI-generated Tailwind code
Vercel moved v0 to beta; v0 produces code with React, Tailwind CSS and shadcn/ui.[9]
2025-01-22
v4.0
A ground-up rewrite with a faster engine and CSS-first configuration.[6]

Which concepts are related to Tailwind CSS?

  • Companion tool
    shadcn/uishadcn/ui is a component collection styled with Tailwind CSS.[10]
  • Foundation
    Design SystemTailwind's theme variables hold a design system's tokens, such as colours, type and spacing.[1][6]

Which sources explain Tailwind CSS?

  1. Tailwind CSS — Styling with utility classes (docs, v4.3; checked 2026-10-13) — https://tailwindcss.com/docs/styling-with-utility-classes
  2. Adam Wathan — CSS Utility Classes and "Separation of Concerns" (2017-08-07) — https://adamwathan.me/css-utility-classes-and-separation-of-concerns/
  3. GitHub — tailwindlabs/tailwindcss Release v0.1.0 (Nov 1) — https://github.com/tailwindlabs/tailwindcss/releases/tag/v0.1.0
  4. Tailwind CSS Blog — Just-In-Time: The Next Generation of Tailwind CSS (2021-03-15) — https://tailwindcss.com/blog/just-in-time-the-next-generation-of-tailwind-css
  5. Tailwind CSS Blog — Tailwind CSS v3.0 (2021-12-09) — https://tailwindcss.com/blog/tailwindcss-v3
  6. Tailwind CSS Blog — Tailwind CSS v4.0 (2025-01-22) — https://tailwindcss.com/blog/tailwindcss-v4
  7. Devographics — State of CSS 2024: Libraries & Tools (2024) — https://2024.stateofcss.com/en-US/tools/
  8. Tailwind CSS — Showcase (checked 2026-10-13) — https://tailwindcss.com/showcase
  9. Vercel — Announcing v0: Generative UI (2023-10-11) — https://vercel.com/blog/announcing-v0-generative-ui
  10. shadcn/ui — June 2023: New CLI, Styles and more (2023-06) — https://ui.shadcn.com/docs/changelog/2023-06-new-cli