GitPedia

Tailwindcss

⚠️ MOVED: https://github.com/svelte-add/svelte-add/ ⚠️ Add Tailwind CSS to your Svelte project

From svelte-add·Updated June 18, 2026·View on GitHub·
·Archived

This is an adder for `svelte-add`; you should [read its `README`](https://github.com/svelte-add/svelte-add#readme) before continuing here. The project is written primarily in JavaScript, distributed under the MIT License license, first published in 2020. Key topics include: postcss, purgecss, svelte, svelte-add, svelte-kit.

<h1 align="center">💨 Add Tailwind CSS to Svelte</h1>

GitHub issues by-label
GitHub issues by-label

This is an adder for svelte-add; you should read its README before continuing here.

➕ Adding Tailwind CSS

This adder's codename is tailwindcss, and can be used like so:

sh
npx svelte-add@latest tailwindcss

🏞 Supported environments

This adder supports SvelteKit and Vite-powered Svelte apps (all the environments svelte-add currently supports).

⚙️ Options

sh
npx svelte-add@latest tailwindcss --tailwindcss-forms --tailwindcss-typography --tailwindcss-daisyui

🛠 Using Tailwind CSS

After the adder runs,

Contributors

Showing top 8 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from svelte-add/tailwindcss via the GitHub API.Last fetched: 6/21/2026