unocss

Skill

UnoCSS instant atomic CSS engine, superset of Tailwind CSS. Use when configuring UnoCSS, writing utility rules, shortcuts, or working with presets like Wind, Icons, Attributify.

Files25
  • @skills/unocss/GENERATION.md
  • @skills/unocss/SKILL.md
  • @skills/unocss/references/core-config.md
  • @skills/unocss/references/core-extracting.md
  • @skills/unocss/references/core-layers.md
  • @skills/unocss/references/core-rules.md
  • @skills/unocss/references/core-safelist.md
  • @skills/unocss/references/core-shortcuts.md
  • @skills/unocss/references/core-theme.md
  • @skills/unocss/references/core-variants.md
  • @skills/unocss/references/integrations-nuxt.md
  • @skills/unocss/references/integrations-vite.md
  • @skills/unocss/references/preset-attributify.md
  • @skills/unocss/references/preset-icons.md
  • @skills/unocss/references/preset-mini.md
  • @skills/unocss/references/preset-rem-to-px.md
  • @skills/unocss/references/preset-tagify.md
  • @skills/unocss/references/preset-typography.md
  • @skills/unocss/references/preset-web-fonts.md
  • @skills/unocss/references/preset-wind3.md
  • @skills/unocss/references/preset-wind4.md
  • @skills/unocss/references/transformer-attributify-jsx.md
  • @skills/unocss/references/transformer-compile-class.md
  • @skills/unocss/references/transformer-directives.md
  • @skills/unocss/references/transformer-variant-group.md
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]
unocss — Kortix Marketplace | Kortix