Presets
Extension preset for twind providing utilities and variants that are not yet part of @twind/preset-tailwind eg Tailwind CSS.
- 🧭 Explore the examples
- 📓 Consult the API reference
- 📜 Read the changelog
📦 Installation
with @twind/core
Install from npm:
Add the preset to your twind config:
Usage with a script tag
with Twind CDN
🙇 Usage
Short CSS
Allows any CSS properties to be added:
↓ ↓ ↓ ↓ ↓ ↓
When a value needs to contain a space, use an underscore (_
) instead and Twind will automatically convert it to a space at build-time 1.