Documentation for the Tailwind CSS framework.
Tailwind CSS is a utility-first CSS framework that provides low-level classes such as flex, pt-4, text-center, and rotate-90 for building custom designs directly within HTML markup, without writing separate CSS files. It supports responsive design through breakpoint prefixes, dark mode via a dark: prefix, container queries, CSS grid and 3D transform utilities, gradients, transitions and animations, and logical properties for handling multiple text directions. Theming is configured through CSS variables (an @theme block), and the framework uses CSS cascade layers to avoid specificity conflicts. Its color palette uses wide-gamut P3 colors.
The framework removes unused CSS at build time, with most projects producing under 10kB of CSS shipped to the client. It is used in production by companies including OpenAI, Shopify, Reddit, Rivian, Gumroad, Clerk, The Verge, TED, and NASA JPL.
Tailwind Plus is a separate paid offering of ready-made UI resources built by the Tailwind CSS team, including site templates built with React and Next.js, a library of over 500 responsive UI blocks, and a UI kit for building component systems with React and Tailwind CSS. Related open-source projects from the same creators include Headless UI and Heroicons.
Tailwind CSS is a utility-first CSS framework with classes like flex, pt-4, and text-center that can be composed to build custom designs directly in markup.
Tailwind automatically removes all unused CSS when building for production, so most Tailwind projects ship less than 10kB of CSS to the client.
Tailwind Plus offers templates, UI blocks, and a UI kit with hundreds of ready-to-use, fully responsive components built with React and Next.js.
Yes, theming is customized by defining CSS variables such as fonts, colors, and text sizes inside an @theme block.
Yes, Tailwind uses logical properties so supporting multiple language text directions is handled without extra work.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Sigma is a JavaScript library dedicated to graph drawing. It makes easy to publish networks on Web pages, and allows developers to integrate network exploration in rich Web applications.
An open-source UI component library inspired by Tailwind and AntDesign.
SurveyJS is an open-source JavaScript library for building dynamic forms and surveys using JSON. It works with React, Angular, Vue, and plain JavaScript, and can be connected to any backend.
Tailwind CSS examples from components by the community. Tailwind chart, grids, inputs, forms, templates and much more.
Find the best UI kits and component libraries to design and build websites in no time.
UIkit, a lightweight and modular front-end framework for developing fast and powerful web interfaces.