Packages
UnoCSS is a monorepo that contains multiple packages. This page lists all the packages and what's included in unocss
package:
Package | Description | Included in unocss | Enabled |
---|---|---|---|
@unocss/core | The core library without preset | ✅ | - |
@unocss/cli | Command line interface for UnoCSS | ✅ | - |
@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 | ✅ | No |
@unocss/preset-tagify | Enables Tagify Mode for other rules | ✅ | No |
@unocss/preset-icons | Pure CSS Icons solution powered by Iconify | ✅ | No |
@unocss/preset-web-fonts | Web fonts (Google Fonts, etc.) support | ✅ | No |
@unocss/preset-typography | The typography preset | ✅ | No |
@unocss/preset-rem-to-px | Coverts rem to px for utils | No | No |
@unocss/preset-legacy-compat | Collections of legacy compatibility utilities | No | No |
@unocss/transformer-variant-group | Transformer for Windi CSS's variant group feature | ✅ | No |
@unocss/transformer-directives | Transformer for CSS directives like @apply | ✅ | No |
@unocss/transformer-compile-class | Compile group of classes into one class | ✅ | No |
@unocss/transformer-attributify-jsx | Support valueless attributify in JSX/TSX | ✅ | No |
@unocss/extractor-pug | Extractor for Pug | No | - |
@unocss/extractor-svelte | Extractor for Svelte | No | - |
@unocss/autocomplete | Utils for autocomplete | No | - |
@unocss/config | Configuration file loader | ✅ | - |
@unocss/reset | Collection of common CSS resets | ✅ | No |
@unocss/vite | The Vite plugins | ✅ | - |
@unocss/inspector | The inspector UI for UnoCSS | ✅ | - |
@unocss/astro | The Astro integration | ✅ | - |
@unocss/webpack | The Webpack plugin | No | - |
@unocss/nuxt | The Nuxt Module | No | - |
@unocss/svelte-scoped | Svelte Scoped Vite plugin + Preprocessor | No | - |
@unocss/next | The Next.js plugin | No | - |
@unocss/runtime | CSS-in-JS Runtime for UnoCSS | No | - |
@unocss/eslint-plugin | ESLint plugin | No | - |
@unocss/eslint-config | ESLint config | No | - |
@unocss/postcss | The PostCSS plugin | No | - |
VS Code Extension | UnoCSS for VS Code | - | - |