Skip to main content

tailwindcss

Tailwind CSS allows you to rapidly build modern websites without ever leaving your HTML.

Usage

npx sv add tailwindcss

What you get

  • Tailwind setup following the Tailwind for SvelteKit guide
  • Tailwind Vite plugin
  • updated app.css and +layout.svelte (for SvelteKit) or App.svelte (for non-SvelteKit Vite apps)
  • integration with prettier if using that package

Options

plugins

Which plugin to use:

npx sv add --tailwindcss=typography

Edit this page on GitHub llms.txt