UnoCSS is an instant atomic CSS engine designed to be flexible and extensible. The core is un-opinionated - all CSS utilities are provided via presets. It's a superset of Tailwind CSS, so you can reuse your Tailwind knowledge for basic syntax usage.
Important: Before writing UnoCSS code, agents should check for uno.config.* or unocss.config.* files in the project root to understand what presets, rules, and shortcuts are available. If the project setup is unclear, avoid using attributify mode and other advanced features - stick to basic class usage.
The skill is based on UnoCSS 66.x, generated at 2026-01-28.

Core

TopicDescriptionReference
ConfigurationConfig file setup and all configuration optionscore-config [blocked]
RulesStatic and dynamic rules for generating CSS utilitiescore-rules [blocked]
ShortcutsCombine multiple rules into single shorthandscore-shortcuts [blocked]
ThemeTheming system for colors, breakpoints, and design tokenscore-theme [blocked]
VariantsApply variations like hover:, dark:, responsive to rulescore-variants [blocked]
ExtractingHow UnoCSS extracts utilities from source codecore-extracting [blocked]
Safelist & BlocklistForce include or exclude specific utilitiescore-safelist [blocked]
Layers & PreflightsCSS layer ordering and raw CSS injectioncore-layers [blocked]

Presets

Main Presets

TopicDescriptionReference
Preset Wind3Tailwind CSS v3 / Windi CSS compatible preset (most common)preset-wind3 [blocked]
Preset Wind4Tailwind CSS v4 compatible preset with modern CSS featurespreset-wind4 [blocked]
Preset MiniMinimal preset with essential utilities for custom buildspreset-mini [blocked]

Feature Presets

TopicDescriptionReference
Preset IconsPure CSS icons using Iconify with any icon setpreset-icons [blocked]
Preset AttributifyGroup utilities in HTML attributes instead of classpreset-attributify [blocked]
Preset TypographyProse classes for typographic defaultspreset-typography [blocked]
Preset Web FontsEasy Google Fonts and other web fonts integrationpreset-web-fonts [blocked]
Preset TagifyUse utilities as HTML tag namespreset-tagify [blocked]
Preset Rem to PxConvert rem units to px for utilitiespreset-rem-to-px [blocked]

Transformers

TopicDescriptionReference
Variant GroupShorthand for grouping utilities with common prefixestransformer-variant-group [blocked]
DirectivesCSS directives: @apply, @screen, theme(), icon()transformer-directives [blocked]
Compile ClassCompile multiple classes into one hashed classtransformer-compile-class [blocked]
Attributify JSXSupport valueless attributify in JSX/TSXtransformer-attributify-jsx [blocked]

Integrations

TopicDescriptionReference
Vite IntegrationSetting up UnoCSS with Vite and framework-specific tipsintegrations-vite [blocked]
Nuxt IntegrationUnoCSS module for Nuxt applicationsintegrations-nuxt [blocked]