Building blocks Tailwind CSS is made of parts you can use on their own in your project. Copy a prompt to have your AI assistant add one for you, and see the licence card for what you may do with them.
The Tailwind styling toolkit itself: style pages with short class names instead of writing CSS files.
Use it to build Any web front end Design systems Marketing sites Technical details Name tailwindcss What it is Code library How to use it Install it, then configure it Install npm i tailwindcssCopy Licence MIT License (read from packages/tailwindcss/package.json (licence field)) Adds Tailwind to projects built with Vite, such as SvelteKit, Astro or Remix, in one step.
Use it to build Vite, SvelteKit, Astro and Remix apps Technical details Name @tailwindcss/vite What it is Plugin How to use it Install it and use it Install npm i @tailwindcss/viteCopy Licence MIT License (read from packages/@tailwindcss-vite/package.json (licence field)) Adds Tailwind to Next.js and other projects that already use PostCSS.
Use it to build Next.js apps Existing PostCSS pipelines Technical details Name @tailwindcss/postcss What it is Plugin How to use it Install it and use it Install npm i @tailwindcss/postcssCopy Licence MIT License (read from packages/@tailwindcss-postcss/package.json (licence field)) Builds your Tailwind styles from the command line, for simple sites with no JavaScript build step.
Use it to build Static sites Server-rendered apps without a JS build Technical details Name @tailwindcss/cli What it is Command-line tool How to use it Install it and use it Install npm i @tailwindcss/cliCopy Licence MIT License (read from packages/@tailwindcss-cli/package.json (licence field))