Official Packages
Presets
Package | Description |
---|---|
@unocss/preset-uno | The default preset |
@unocss/preset-mini | The minimal but essential rules and variants |
@unocss/preset-wind | Tailwind CSS / Windi CSS compact preset |
@unocss/preset-attributify | Enables Attributify Mode for other rules |
@unocss/preset-tagify | Enables Tagify Mode for other rules |
@unocss/preset-icons | Pure CSS Icons solution powered by Iconify |
@unocss/preset-web-fonts | Web fonts (Google Fonts, etc.) support |
@unocss/preset-typography | The typography preset |
@unocss/preset-rem-to-px | Converts rem to px for utils |
Transformers
Package | Description |
---|---|
@unocss/transformer-variant-group | Transformer for Windi CSS's variant group feature |
@unocss/transformer-directives | Transformer for CSS directives like @apply |
@unocss/transformer-compile-class | Compile group of classes into one class |
@unocss/transformer-attributify-jsx | Support valueless attributify in JSX/TSX |
Extractors
Package | Description |
---|---|
@unocss/extractor-pug | Extractor for Pug |
@unocss/extractor-svelte | Extractor for Svelte |
@unocss/extractor-arbitrary-variants | Extractor to support arbitrary variants for utilities |