logo
ExploreForumsLaunchAlternativesQR CodeUpFileMagic ImageGuess number
image
#Twind
image
TwindThe smallest, fastest, most feature complete tailwind-in-js solution in existence
United States
Open Source
Twind is a small compiler that converts utility classes into CSS at runtime. The goal of this project is to unify the flexibility of CSS-in-JS with the carefully considered constraints of the Tailwind API
Stories
Twind is a runtime Tailwind-in-JS compiler, enabling developers to use the full power of Tailwind CSS directly in JavaScript/TypeScript – without the need for a separate build step. It generates on-demand CSS at runtime, whether in the browser or Node.js.
πŸ’‘ β€œTwind = Tailwind, but faster, smaller, and more flexible.”
Development History
πŸ“Œ 2020 – Created by Dominik Dorfmeister and contributors to solve Tailwind’s build-time limitations.
πŸ“Œ 2021 – 2022 – Grew quickly with integrations for React, Vue, Svelte, Preact, Deno, Fresh, Next.js, and other modern frameworks.
πŸ“Œ Today – Twind is regarded as one of the fastest Tailwind-in-JS implementations, with runtime-first architecture and no reliance on PostCSS.
Key Features
- ⚑ Zero-build runtime: No PostCSS, no build step – instant usage.
- 🧩 Full Tailwind compatibility: Almost 100% API coverage.
- 🎨 On-demand CSS: Generates only what you use.
- πŸ”Œ Framework-agnostic: Works across React, Vue, Svelte, Preact, Deno, Fresh.
- πŸŒ€ Customizable theming & plugins: Just like Tailwind.
- πŸ“¦ Lightweight footprint: Perfect for SSR, Edge, and micro-frontends.
Why Choose Twind?
- ⏱️ Faster than Tailwind in runtime scenarios.
- 🌍 Universal – works everywhere from browsers to edge runtimes.
- 🎯 No workflow lock-in – forget about heavy build pipelines.
- πŸ’‘ Drop-in integration with modern frameworks.

Comment