- Notifications
You must be signed in to change notification settings - Fork0
TailUI is a semantic CSS layer on top of Tailwind CSS. Write instead of a wall of utility classes.
License
NotificationsYou must be signed in to change notification settings
tailuilabs/tailuicss
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation

The semantic CSS layer for Tailwind CSS
Stop writing 40 utility classes per element. Writeui-button ui-primary instead.
<!-- ❌ Before: Tailwind at scale --><buttonclass="px-4 py-2 bg-blue-600 text-white rounded-lg font-medium transition-all hover:bg-blue-700 active:bg-blue-800 shadow-sm disabled:opacity-50 disabled:cursor-not-allowed"> Save</button><!-- ✅ After: TailUI --><buttonclass="ui-button ui-primary">Save</button>
Same output. 80% less code. Zero runtime. Pure CSS.
npm install tailuicss
// tailwind.config.jsplugins:[require('tailuicss')()]
// postcss.config.jsplugins:{'tailuicss/postcss':{},tailwindcss:{},}
That's it. Start usingui-button,ui-card,ui-input, and20 more components.
- 🎨20 production-ready components — Button, Card, Modal, Input, Toast, and more
- 🌙Dark mode built-in — One
data-theme="dark"attribute switches everything - 🔧Full Tailwind power — Use
@apply, CSS variables, and all Tailwind utilities - 📦Framework agnostic — React, Vue, Svelte, Angular, Astro, plain HTML
- 🤖AI generation — Generate typed components with OpenAI, Claude, Gemini, or Mistral
- 🔄Migration CLI — Convert existing Tailwind code to TailUI automatically
- ⚡Zero JS runtime — Pure CSS, no bundle bloat
👉Read the full documentation →
TailUI provides allms.txt file for AI assistants and code editors:
https://tailuicss.com/llms.txtAdd this to your Cursor rules, Windsurf, or any AI-powered editor for perfect TailUI code generation.
About
TailUI is a semantic CSS layer on top of Tailwind CSS. Write instead of a wall of utility classes.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published