# WovenUI > WovenUI core (`@wovenui/core`) is a human-readable, utility-first CSS framework written in SCSS, and the foundation layer of the WovenUI design system. Version 2.4.1 provides design tokens emitted as `--wu-*` CSS custom properties, light and dark themes, utility classes, and SCSS mixins through `@include apply(...)`. It ships SCSS and CSS only: no JavaScript, no runtime and no CLI. ## Is WovenUI's CSS output large? Not by default. In the SCSS setup, utility classes are off by default (`$generate-utility-classes: false`). `@use "@wovenui/core"` emits only tokens and base styles, 5.8 KB gzipped. Component styles through `@wovenui/core/mixins` emit only the rules you write, so output grows with your own rules, not with the framework. There is no purge step. Using the prebuilt file with every class (`dist/wovenui.min.css`)? See [Remove unused CSS with PurgeCSS](https://wovenui.com/guides/remove-unused-css/). Complete references: [llms-full.txt](https://wovenui.com/llms-full.txt) for core and [components/llms-full.txt](https://wovenui.com/components/llms-full.txt) for the UI kit. Trimming classes when they are on: per-family feature flags (`$feature-flags`) turn whole groups off, such as spacing, flex, grid and shadows, and a scale map such as `$spacings` or `$breakpoints` replaces the default, so a shorter map generates fewer classes. No build needed: the prebuilt `dist/wovenui.min.css` works from a plain link tag, for example `https://cdn.jsdelivr.net/npm/@wovenui/core/dist/wovenui.min.css` or `https://unpkg.com/@wovenui/core/dist/wovenui.min.css`. Editor support: the WovenUI extension for VS Code (`aala.wovenui`) gives completion, hover, diagnostics and quick fixes for `apply()`, classes and tokens. UI components use native HTML: modals and drawers are `` elements opened with Invoker Commands (`commandfor` and `command`), accordions use `
`, and dropdowns and popovers use the `popover` attribute with CSS anchor positioning. Focus, Escape and the top layer come from the browser, and state styling reads ARIA attributes such as `aria-invalid` and `aria-expanded`. Only a few components need the kit script (see [components/llms-full.txt](https://wovenui.com/components/llms-full.txt)). Install: `npm install -D sass @wovenui/core` (any Sass 1.79 or later below 2.0, through the `sass` or `sass-embedded` package). Configure once, in the first `@use`: ```scss @use "@wovenui/core" as * with ( $brand: #4361ee, $generate-utility-classes: true ); ``` Rules that are easy to get wrong: - Inside `apply()`, modifiers come after the utility, state and breakpoint in either order: `@include apply(bg(gray, 100) hover lg)` or `apply(bg(gray, 100) lg hover)`. Never `hover:bg(...)` or `lg:p(4)`. Item order does not change the output: items without a modifier come first, then breakpoints from the smallest up, and states in LVHA order (`hover`, `focus`, `focus-visible`, `active`, then `disabled`), so `apply(flex md, hide)` equals `apply(hide, flex md)`. - Responsive classes use an `@` suffix: `p-4@md`, `flex@md`, `hide@md`. Color classes have no responsive variants: use `@include apply(bg(red) lg)`. State classes use a prefix: `hover:bg-brand`. There is no `lg:` syntax. - Flex modifiers sit on the `.flex` element itself: `class="flex between x-center"`, never `between` alone. Flex child classes such as `grow` and `fill-6` need a `.flex` parent and work only on its direct children. - Names are human-readable: `between` and `x-center`, not `justify-between` and `items-center`. Do not invent classes or mixins. - A unitless number in a scale mixin is a configuration key: `p(4)` is `var(--wu-space-4)`. Write a unit for a custom value: `p(1.5rem)`. - A role's resting fill is the bare token: `--wu-brand`, `token(brand)`, `bg(brand)`. - Use theme tokens for themed UI (`bg(surface)`, `text-color(muted)`) rather than hex values or palette shades, so styles follow light and dark themes. - Unknown keys and values fail at compile time with an error that names the valid options. - Utility classes are emitted only with `$generate-utility-classes: true`. Tokens and base styles are emitted either way. - Configuration, `apply()` and every mixin need a Sass compile step (Sass, run by your bundler or the `sass` CLI). The package also ships a prebuilt `dist/wovenui.min.css` with the default configuration. There is no runtime in the browser. - Logical utilities (`ps-4`, `ms-4`, `text-start`) are added alongside the physical ones (`pl-4`, `ml-4`, `text-left`), which remain. Use the logical forms for layouts that must flip in right-to-left pages. ## Key differences from Tailwind CSS Details and sources: [WovenUI vs Tailwind CSS](https://wovenui.com/vs/tailwind/). - Breakpoints are suffixes and states are prefixes: `p-8@lg`, `hover:shadow-md`. Tailwind uses prefixes for both (`md:uppercase`). - Every utility class is also a mixin for `apply()`, so the same vocabulary works in markup and in SCSS, with custom values such as `apply(top(117px))`. - An unknown key, color or unit in a mixin, the configuration or `token()` stops the compile with an error that lists the valid options. Tailwind generates no CSS for a class name it does not recognize. - Semantic `--wu-*` tokens switch with `data-theme="light"`, `"dark"` or `"inverse"` on any element, and `[data-contrast="high"]` applies the high-contrast override maps you configure (the OS forced-colors mode is separate). - `@wovenui/core/mixins` has the same API as `@wovenui/core` and outputs no CSS, so CSS modules and Vue, Svelte or Astro style blocks add only their own rules. - It needs only the `sass` package: Vite, Next.js and Astro compile it with no framework plugin. - By default you ship only the rules you write, with no purge step. Using the prebuilt file with every class? See [Remove unused CSS with PurgeCSS](https://wovenui.com/guides/remove-unused-css/). The WovenUI coding guide for AI assistants (syntax rules, every mixin, tokens, configuration and common errors) is in [llms-full.txt](https://wovenui.com/llms-full.txt). The WovenUI Components guide for AI assistants (markup, modifiers, parts and states of every component in `@wovenui/components` 1.2.0) is in [components/llms-full.txt](https://wovenui.com/components/llms-full.txt). ## Getting started - [Introduction](https://wovenui.com/core/): WovenUI core is a human-readable, utility-first CSS framework written in SCSS, and the foundation layer of a design system, with design tokens, themes, utility classes, apply() mixins and compile-time errors. - [Installation](https://wovenui.com/core/getting-started/installation/): Install WovenUI core, choose between the prebuilt CSS and the SCSS entries, and load it with a bundler or the Sass command line. - [apply()](https://wovenui.com/core/getting-started/apply/): Use WovenUI utilities as SCSS mixins in one call, with state and breakpoint modifiers, custom values, and both the global and the namespaced way of loading core. - [VS Code extension](https://wovenui.com/core/getting-started/editor-support/): Install the WovenUI extension for VS Code to get hover documentation, completion, color swatches, diagnostics and quick fixes for apply(), utility classes and tokens. - [AI assistants and tooling data](https://wovenui.com/core/getting-started/ai-and-tooling/): Give an AI assistant the complete WovenUI coding guide, and read the SassDoc data that ships with core for editor and build tooling. ## Concepts - [Utility classes](https://wovenui.com/core/concepts/utility-classes/): How to read and write a WovenUI utility class, from the name grammar and scale keys to color words, compound layout classes, states, breakpoints and the matching mixins. - [States](https://wovenui.com/core/concepts/states/): Style hover, focus, active, disabled, group hover and every other state with state-prefixed classes or with state modifiers in apply(), side by side. - [Responsive design](https://wovenui.com/core/concepts/responsive/): How breakpoints work in WovenUI, from the @breakpoint class suffix and the apply() modifier to the media query mixins, custom breakpoints and the errors they raise. - [Component styles](https://wovenui.com/core/concepts/component-styles/): Style CSS modules and Vue, Svelte and Astro style blocks with apply() and token() through @wovenui/core/mixins, so each component compiles to its own rules only. - [Errors](https://wovenui.com/core/concepts/errors/): Every compile-time error WovenUI core raises, with the exact message the Sass compiler prints and the fix for each input. - [Accessibility and RTL](https://wovenui.com/core/concepts/accessibility-and-rtl/): What WovenUI core does for right-to-left layouts, keyboard focus, text contrast, reduced motion, high contrast and screen readers, and how to use the same tools in your own components. - [First-class RTL support](https://wovenui.com/core/concepts/rtl/): First-class RTL support for Arabic, Hebrew, Persian and Urdu from one stylesheet. Logical classes and mixins, dir="rtl" and live demos in a CSS framework. ## Foundations - [Configuration](https://wovenui.com/core/foundations/configuration/): Configure WovenUI core once with Sass with(), choose what it emits with $generate-utility-classes and feature flags, scope it with $parent-selector, and replace its scale maps. - [Theming](https://wovenui.com/core/foundations/theming/): Light and dark themes with data-theme, the operating system fallback, inverse sections, high contrast, theme override maps with the name stop syntax, and a different brand color per theme. - [Tokens](https://wovenui.com/core/foundations/tokens/): How WovenUI design tokens are organized, named and read in SCSS, with the full list of --wu-* custom properties generated from the compiled core build. ## Layout - [Container](https://wovenui.com/core/layout/container/): A centered page container whose maximum width steps up at each breakpoint, with flex and grid variants, and query container classes for container queries. - [Flex](https://wovenui.com/core/layout/flex/): Flexbox layout with readable names for direction, main axis and cross axis alignment, wrapping, gap, a 12-column fill system and equal-share rows with stretch. - [Grid](https://wovenui.com/core/layout/grid/): CSS grid layout with equal columns and rows, auto-fit and auto-fill tracks, flow control, grid-only item alignment, spans and placement mixins. ## Utilities - [Alignment](https://wovenui.com/core/utilities/alignment/): Vertical alignment utilities for inline content and table cells, with responsive variants and SCSS mixins of the same name. - [Animations](https://wovenui.com/core/utilities/animations/): Ready-made pulse, spin, ping, fade and shake animation classes, configurable animation mixins that emit their keyframes once, and reduced motion handling. - [Backdrop filters](https://wovenui.com/core/utilities/backdrop-filters/): Backdrop filter utilities that blur, dim and recolor whatever sits behind an element, composed from --wu-backdrop-* properties on a backdrop-layer, plus ready-made glass presets. - [Borders](https://wovenui.com/core/utilities/borders/): Border width, color, style and radius utilities built on the --wu-border-width-* and --wu-radius-* tokens, with logical sides and corners for right-to-left layouts. - [Colors](https://wovenui.com/core/utilities/colors/): Background, text and border color utilities for semantic roles, hue roles, palette shades 50 to 950, theme surfaces and basic colors, all emitted as --wu-* tokens that follow the theme. - [Cursor](https://wovenui.com/core/utilities/cursor/): Cursor utility classes for 32 CSS cursor values, and the cursor() SCSS mixin for states and custom cursor images. - [Display](https://wovenui.com/core/utilities/display/): Display, visibility, overflow and text truncation utilities, with responsive hide and show classes and a screen reader only helper. - [Helpers](https://wovenui.com/core/utilities/helpers/): The sr-only class for content that only screen readers announce, with the setting that controls it. - [Opacity](https://wovenui.com/core/utilities/opacity/): Opacity utilities built on their own $opacities scale and the --wu-opacity-* tokens, with hover, focus, active, group-hover and responsive variants. - [Position](https://wovenui.com/core/utilities/position/): Position type, offset and inset utilities, with logical start and end offsets for right-to-left layouts, percentage offsets and absolute centring. - [Shadows](https://wovenui.com/core/utilities/shadows/): Box shadow utilities built on the --wu-shadow-* tokens, with darker color variants, inset shadows, elevation levels, state and responsive variants. - [Sizing](https://wovenui.com/core/utilities/sizing/): Width, height, minimum and maximum size utilities built on the spacing scale, with percentages, breakpoint widths and sizing keywords. - [Spacing](https://wovenui.com/core/utilities/spacing/): Padding, margin, gap and child spacing utilities built on the --wu-space-* token scale, with logical properties for right-to-left layouts. - [Transforms](https://wovenui.com/core/utilities/transforms/): Translate, scale, rotate and skew utilities that combine on one element through registered --wu-* transform properties, plus transform origin classes. - [Transitions](https://wovenui.com/core/utilities/transitions/): Transition utilities with a default duration and easing, property variants, and duration, easing and delay classes built on the --wu-duration-* and --wu-ease-* tokens. - [Typography](https://wovenui.com/core/utilities/typography/): Font size, weight, line height, letter spacing, alignment, case, decoration, wrapping and font family utilities built on the --wu-font-* and --wu-line-height-* tokens. - [Z-index](https://wovenui.com/core/utilities/z-index/): Stacking utilities and SCSS mixins with named layer levels emitted as --wu-z-* tokens, plus numbered keys for local ordering. ## Components - [Tooltips](https://wovenui.com/core/components/tooltips/): CSS-only tooltips set with the data-tooltip attribute, with eight positions, three wrapping widths and --wu-tooltip--* component variables. ## Tools - [Container queries](https://wovenui.com/core/tools/container-queries/): Query container classes and the container-up, container-down, container-between, container-only and container-query mixins, which style an element by the width of its container. - [Media queries](https://wovenui.com/core/tools/media-queries/): The media-up, media-down, media-between and media-only mixins, built on the $breakpoints map, with a 0.02px offset on upper bounds so ranges never overlap. ## Reference - [A to Z index](https://wovenui.com/core/reference/a-z/): Every public WovenUI core mixin and function in alphabetical order, generated from the SCSS doc blocks, with links to the full reference. - [Functions](https://wovenui.com/core/reference/functions/): Every public WovenUI core function, generated from the SCSS doc blocks: parameters, return values and compiled examples. - [Container mixins](https://wovenui.com/core/reference/layout/container/): Mixins for centered, full-width WovenUI containers whose max-width steps up at each breakpoint, generated from the SCSS doc blocks with compiled examples. - [Flex mixins](https://wovenui.com/core/reference/layout/flex/): Every public WovenUI flexbox mixin: direction, wrap, main and cross axis alignment, grow and shrink, generated from the SCSS doc blocks with compiled examples. - [Grid mixins](https://wovenui.com/core/reference/layout/grid/): WovenUI grid mixins for column and row templates, auto-fit and auto-fill tracks, flow, alignment and item placement, generated from the SCSS doc blocks. - [Accessibility mixins](https://wovenui.com/core/reference/tools/accessibility/): WovenUI mixins for user preferences such as reduced motion, dark color scheme, dark theme sections and forced colors, generated from the SCSS doc blocks. - [apply() mixin](https://wovenui.com/core/reference/tools/apply/): The WovenUI apply() mixin: every mixin by name in one call, with state and breakpoint modifiers, generated from the SCSS doc block. - [Container query mixins](https://wovenui.com/core/reference/tools/container-queries/): WovenUI container query mixins that take a breakpoint name or a length, generated from the SCSS doc blocks with compiled examples. - [Feature support mixins](https://wovenui.com/core/reference/tools/feature-support/): WovenUI mixins that target device capabilities such as touch, fine pointers, orientation and display mode, generated from the SCSS doc blocks. - [Media query mixins](https://wovenui.com/core/reference/tools/media-queries/): WovenUI media query mixins that take a breakpoint name or a length, generated from the SCSS doc blocks with compiled examples. - [Modern layout mixins](https://wovenui.com/core/reference/tools/modern-layout/): WovenUI mixins for modern CSS layout techniques such as aspect ratio, dynamic viewport height, safe areas, print and @supports, generated from the SCSS doc blocks. - [Theme mixins](https://wovenui.com/core/reference/tools/themes/): The WovenUI dark-theme mixin that emits the dark theme token declarations, generated from the SCSS doc block with a compiled example. - [Tooltip mixins](https://wovenui.com/core/reference/tools/tooltips/): The WovenUI tooltip-variables mixin for the data-tooltip component defaults, generated from the SCSS doc block with a compiled example. - [Alignment mixins](https://wovenui.com/core/reference/utilities/alignment/): WovenUI vertical alignment mixins for inline and table cell content, generated from the SCSS doc blocks with compiled examples. - [Animation mixins](https://wovenui.com/core/reference/utilities/animations/): WovenUI animation mixins that emit their own keyframes once, with options maps, generated from the SCSS doc blocks with compiled examples. - [Backdrop filter mixins](https://wovenui.com/core/reference/utilities/backdrop-filters/): WovenUI backdrop-filter mixins: blur, brightness, contrast, saturate and the glass presets, generated from the SCSS doc blocks with compiled examples. - [Border mixins](https://wovenui.com/core/reference/utilities/borders/): WovenUI border width, style, color and radius mixins, generated from the SCSS doc blocks with parameters and compiled examples. - [Color mixins](https://wovenui.com/core/reference/utilities/colors/): WovenUI color mixins bg(), text-color(), text-on-color(), gradient() and adaptive-contrast(), generated from the SCSS doc blocks with compiled examples. - [Cursor mixins](https://wovenui.com/core/reference/utilities/cursor/): The WovenUI cursor() mixin, generated from the SCSS doc blocks with parameters and a compiled example. - [Display mixins](https://wovenui.com/core/reference/utilities/display/): WovenUI display, visibility, overflow and text truncation mixins, generated from the SCSS doc blocks with compiled examples. - [Opacity mixins](https://wovenui.com/core/reference/utilities/opacity/): The WovenUI opacity() mixin for element transparency with configured keys and raw values, generated from the SCSS doc blocks. - [Position mixins](https://wovenui.com/core/reference/utilities/position/): WovenUI positioning mixins: position types, offsets and logical insets, generated from the SCSS doc blocks with compiled examples. - [Shadow mixins](https://wovenui.com/core/reference/utilities/shadows/): WovenUI box shadow and elevation mixins with configured sizes and colors, generated from the SCSS doc blocks with compiled examples. - [Sizing mixins](https://wovenui.com/core/reference/utilities/sizing/): WovenUI width, height, min and max size mixins with spacing, percentage and breakpoint keys, generated from the SCSS doc blocks. - [Spacing mixins](https://wovenui.com/core/reference/utilities/spacing/): WovenUI margin, padding, gap, inset and space-between mixins, generated from the SCSS doc blocks with parameters and compiled examples. - [Transform mixins](https://wovenui.com/core/reference/utilities/transforms/): WovenUI translate, scale, rotate, skew and transform origin mixins, generated from the SCSS doc blocks with compiled examples. - [Transition mixins](https://wovenui.com/core/reference/utilities/transitions/): WovenUI transition property, duration, easing and delay mixins, generated from the SCSS doc blocks with compiled examples. - [Typography mixins](https://wovenui.com/core/reference/utilities/typography/): WovenUI font size, weight, line height, alignment, case, decoration, word breaking, white-space and letter spacing mixins, generated from the SCSS doc blocks. - [Z-index mixins](https://wovenui.com/core/reference/utilities/z-index/): WovenUI z-index mixins for named stacking levels and numbered keys, generated from the SCSS doc blocks with compiled examples. ## Playground - [WovenUI Playground](https://wovenui.com/playground/): Write SCSS with WovenUI core and see the compiled CSS and a live preview; Sass runs in the browser. ## Guides - [WovenUI guides](https://wovenui.com/guides/): Setup guides for each framework: install, one configured partial and component styles with apply(). - [Setup: Vite](https://wovenui.com/guides/vite/): Set up WovenUI in a plain Vite project with no UI framework: one configuration partial, a global stylesheet, utility classes in index.html, component stylesheets with apply(), and dark mode. - [Setup: React with Vite](https://wovenui.com/guides/react/): Set up WovenUI in a React and Vite project: one configuration partial, a global stylesheet, CSS modules with apply(), and dark mode. - [Setup: Next.js](https://wovenui.com/guides/nextjs/): Set up WovenUI in a Next.js App Router project with Turbopack or webpack: one configuration partial, a global stylesheet in the root layout, CSS modules with apply(), and dark mode. - [Setup: Vue with Vite](https://wovenui.com/guides/vue/): Set up WovenUI in a Vue and Vite project: one configuration partial, a global stylesheet, scoped SCSS blocks with apply(), and dark mode. - [Setup: Svelte with Vite](https://wovenui.com/guides/svelte/): Set up WovenUI in a Svelte and Vite project: vitePreprocess, one configuration partial, a global stylesheet, SCSS style blocks with apply(), and dark mode. - [Setup: Astro](https://wovenui.com/guides/astro/): Set up WovenUI in an Astro project: one configuration partial, a global stylesheet in the shared layout, scoped SCSS blocks with apply(), and dark mode. - [Setup: Plain HTML](https://wovenui.com/guides/html/): Use WovenUI in a plain HTML site: the prebuilt stylesheet with a link tag or a bundler import, or your own configuration compiled with the sass command line. - [Setup: Remove unused CSS with PurgeCSS](https://wovenui.com/guides/remove-unused-css/): Remove unused WovenUI utility classes from a production build with PurgeCSS and a WovenUI extractor: tested config, measured sizes, and safelisting classes built from strings. - [Patterns](https://wovenui.com/components/patterns/): Ready-made blocks and templates in WovenUI core utility classes, each with a live preview and HTML to copy. - [Card pattern](https://wovenui.com/components/patterns/card/): A content card with a title, a status badge, a short text and two actions, built with WovenUI classes and with apply(). - [Dark mode toggle pattern](https://wovenui.com/components/patterns/dark-mode-toggle/): A dark mode toggle button that sets data-theme on the html element, stores the choice and follows prefers-color-scheme until one is made. - [Form field pattern](https://wovenui.com/components/patterns/form-field/): Labeled form fields with a hint, a select and an error message, styled by the WovenUI base layer and theme tokens. - [Navbar pattern](https://wovenui.com/components/patterns/navbar/): A responsive top navigation bar with a wordmark, page links and an account link, built with WovenUI classes and with apply(). - [Dashboard layout template](https://wovenui.com/components/patterns/dashboard-layout/): A responsive dashboard layout with a side navigation, a header, three stat tiles and a recent orders list, built with WovenUI grid and flex. - [Mail client template](https://wovenui.com/components/patterns/mail-client/): A mail client template with a tool rail, folders, labels, an inbox and a reading pane, in WovenUI utility classes. Copy the HTML; no JavaScript needed. - [Pricing table template](https://wovenui.com/components/patterns/pricing-table/): A responsive three-plan pricing table with a highlighted plan, feature lists and calls to action, built with WovenUI classes and with apply(). - [Team settings template](https://wovenui.com/components/patterns/team-settings/): A team settings template with tabs, an invite form, a warning and a members list, in WovenUI utility classes. Follows light, dark and right to left. ## UI components - [Get started](https://wovenui.com/components/docs/): Install the UI kit after WovenUI core, load it as one stylesheet or per component, and add a first component. See which parts need the optional script. - [Accessibility](https://wovenui.com/components/docs/accessibility/): How WovenUI components are designed to meet WCAG 2.2 AA, criterion by criterion, with the components each applies to, how it is tested and what is open. - [Accordion](https://wovenui.com/components/docs/accordion/): A CSS accordion built on native details elements, with no JavaScript. Chevron marker, exclusive or independent sections and an optional height animation. - [Alert](https://wovenui.com/components/docs/alert/): CSS alert boxes for every role, with a title, actions and a dismiss button. The marker shape repeats the meaning, so the message never relies on color alone. - [Autocomplete](https://wovenui.com/components/docs/autocomplete/): A combobox input that filters a list of options as you type. Styled with CSS and started by the kit script. Disabled options, empty message and optional fade. - [Avatar group](https://wovenui.com/components/docs/avatar-group/): A CSS avatar group that stacks overlapping avatars and shows an overflow count, with an optional fan-out animation, for teams, assignees and shared files. - [Avatar](https://wovenui.com/components/docs/avatar/): CSS avatars with initials, an image or an svg in a circle or square, in three sizes and seven hues, plus a status marker whose shape changes per state. - [Badge](https://wovenui.com/components/docs/badge/): CSS badges as count pills for numbers and short counters, in subtle and solid role styles, with tabular figures and a corner position on a button or avatar. - [Breadcrumb](https://wovenui.com/components/docs/breadcrumb/): A CSS breadcrumb that shows the path to the current page, with chevron or slash separators drawn in CSS and mirrored in right to left, on a native nav and list. - [Button group](https://wovenui.com/components/docs/btn-group/): A CSS button group that joins buttons into one control, horizontal or vertical, with a pressed toggle state, split buttons and an optional press effect. - [Button](https://wovenui.com/components/docs/button/): CSS buttons in brand, danger, quiet, link and subtle variants, icon-only squares, small and large sizes, aria-busy loading and an optional spring press. - [Card](https://wovenui.com/components/docs/card/): A CSS card as a raised surface with header, body and footer parts, and a stretched link that makes the whole card clickable while its buttons still work. - [Checkbox](https://wovenui.com/components/docs/checkbox/): A CSS checkbox on the native input, with a drawn check mark, an indeterminate dash, two sizes, plus invalid and disabled states. Indeterminate is set by script. - [Code block](https://wovenui.com/components/docs/code-block/): Style a pre and code block in CSS with scroll shadows, optional line numbers and variables for the background and font, for docs, changelogs and snippets. - [Confirmation dialog](https://wovenui.com/components/docs/confirm-modal/): A compact confirmation dialog on the native dialog element, with a title, a message, two actions and a danger variant. Opens and closes without JavaScript. - [Data table](https://wovenui.com/components/docs/data-table/): A sortable data table. The kit script adds click-to-sort by text or number, with an optional row animation. The styling is CSS, the sorting needs JavaScript. - [Description list](https://wovenui.com/components/docs/desc-list/): Style a dl of terms and descriptions in CSS, stacked, in two columns, as a bordered table or with several pairs per row, for orders, profiles and settings. - [Divider](https://wovenui.com/components/docs/divider/): A CSS divider that draws a horizontal or vertical separator line, dashed or with a text label in the middle, such as an "or" between sign-in options. - [Status dot](https://wovenui.com/components/docs/dot/): A small CSS status dot in role colors, with a size variable and an optional live ring animation, for online, busy or error indicators next to a label. - [Drawer](https://wovenui.com/components/docs/drawer/): A side drawer on the native dialog element, docked to the inline end, inline start or bottom. Opens with invoker commands, no JavaScript. Optional slide. - [Dropdown menu](https://wovenui.com/components/docs/dropdown/): A dropdown menu of links and buttons in a native popover, anchored under its trigger. Opens with no JavaScript. Danger and disabled items. - [Empty state](https://wovenui.com/components/docs/empty-state/): A centered CSS empty state with a title, text and actions for empty lists, plus success, warning, danger and info results that carry a shape marker. - [Form field group](https://wovenui.com/components/docs/field-group/): A CSS form field group built on a fieldset and legend that stacks fields or sets them side by side, and sets one control size for the whole form. - [Field message](https://wovenui.com/components/docs/field-message/): Hint and status text under a form control, with error, success and info markers drawn in CSS, so a state never relies on color alone. - [Form field row](https://wovenui.com/components/docs/field-row/): A CSS form field row that sets fields and buttons on one line with aligned controls, wraps on narrow screens and sizes the whole row. No script needed. - [Form field](https://wovenui.com/components/docs/field/): A CSS form field that wraps a label, a control and its messages, with a required marker, an error on invalid input, and a floating label. No script needed. - [Form actions](https://wovenui.com/components/docs/form-actions/): The CSS button row at the end of a form, aligned start, end or center, with an end group and an optional divider line above the buttons. - [Info row](https://wovenui.com/components/docs/info-row/): A CSS info row that shows one label and value pair per row, with lines between adjacent rows, for order details, invoices and account summaries. - [Input group](https://wovenui.com/components/docs/input-group/): A CSS input group that joins text addons, an input and buttons into one row with a shared border and radius, for URLs, prices and search boxes. - [Text input](https://wovenui.com/components/docs/input/): A CSS text input in three sizes with disabled, read-only and invalid states, plus prefix and suffix inside the field border and a clear button. - [Install and download](https://wovenui.com/components/docs/install/): Install the HTML and CSS UI kit with npm, pnpm or yarn, load it from a CDN, or download the CSS and JS files from wovenui.com. Pick what fits. - [JavaScript](https://wovenui.com/components/docs/javascript/): The optional kit script starts tabs, toasts, autocomplete and data table sorting. Load it as a drop-in script or an ES module; the other components need none. - [List](https://wovenui.com/components/docs/list/): A CSS list of rows with leading and trailing content, a title and text, in divided or compact styles, for members, files and notifications. - [Migrate from Bootstrap](https://wovenui.com/components/docs/migrate-from-bootstrap/): Migrate from Bootstrap to WovenUI, a Bootstrap alternative built on Sass. Map btn-primary to wu-btn brand, modal to a native dialog and dropdown to a popover. - [Migrate from Bulma](https://wovenui.com/components/docs/migrate-from-bulma/): Migrate from Bulma to WovenUI, a Sass-based Bulma alternative. Map button is-primary to wu-btn brand and columns to grid, with native dialogs and popovers. - [Migrate from Foundation](https://wovenui.com/components/docs/migrate-from-foundation/): Migrate from Foundation to WovenUI, a Foundation alternative with no jQuery. Map grid-x and cell to grid and col-span, button primary to wu-btn brand. - [Migrate from Pico CSS](https://wovenui.com/components/docs/migrate-from-pico/): Migrate from Pico CSS to WovenUI, a Pico alternative with more components. See which plain HTML core styles and which kit classes add cards, dialogs and tables. - [Migrate from Tailwind](https://wovenui.com/components/docs/migrate-from-tailwind/): Migrate from Tailwind CSS to WovenUI, a Tailwind alternative in Sass. Map justify-between to between and daisyUI or Flowbite style classes to the wu- kit. - [Migrate from UnoCSS](https://wovenui.com/components/docs/migrate-from-unocss/): Migrate from UnoCSS to WovenUI, a UnoCSS alternative without scanning. Map utilities, @apply and shortcuts to core and the wu- kit components. - [Modal](https://wovenui.com/components/docs/modal/): A CSS modal on the native dialog element. Opens and closes with invoker commands, no JavaScript. Header, close button, scrolling body, footer and three widths. - [Page header](https://wovenui.com/components/docs/page-header/): A CSS page header with an optional breadcrumb, a title, a description and actions that wrap below the title on narrow screens. - [Pagination](https://wovenui.com/components/docs/pagination/): CSS pagination built from button links, with a current page, drawn previous and next arrows, a total count, a page size picker and three sizes. - [Panel](https://wovenui.com/components/docs/panel/): A flat, bordered CSS panel for grouped settings or data, with header, body and footer parts, lighter than a card for dense admin screens. - [Popover](https://wovenui.com/components/docs/popover/): A CSS popover on the native popover attribute, with a title, placed under its trigger and flipped to stay in view where anchor positioning exists. No JavaScript. - [Circular progress](https://wovenui.com/components/docs/progress-circle/): A CSS circular progress ring set by one variable, in role colors and three sizes, with an optional transition between values, for quotas and goals. - [Progress bar](https://wovenui.com/components/docs/progress/): A CSS progress bar on the native progress element, determinate or indeterminate, in role colors and three heights, with a label row. No JavaScript required. - [Radio button](https://wovenui.com/components/docs/radio/): A CSS radio button on the native input, with a drawn dot, small and large sizes, and invalid and disabled states. Arrow keys move the choice natively. - [First-class RTL support](https://wovenui.com/components/docs/rtl/): First-class RTL support for Arabic, Hebrew, Persian and Urdu from one stylesheet. Logical properties, dir="rtl", wu-mirror and live demos in a CSS framework. - [Segmented control](https://wovenui.com/components/docs/segmented/): A CSS segmented control, or segmented button, as a radio group shown as connected segments, in three sizes, with an optional sliding thumb. No JavaScript. - [Select](https://wovenui.com/components/docs/select/): A CSS select on the native select element, with the input look, a drawn arrow, two sizes and list boxes. Includes a styled picker. - [Sidebar](https://wovenui.com/components/docs/sidebar/): A CSS sidebar navigation column with sections, links, icons, collapsible groups, a pinned variant and a collapsed icon rail with label tooltips. - [Skeleton loader](https://wovenui.com/components/docs/skeleton/): A CSS skeleton loader with placeholder blocks, text lines and circles shown while content loads, plus an opt-in shimmer that follows the reading direction. - [Spinner](https://wovenui.com/components/docs/spinner/): A CSS loading spinner ring in the current text color, in three sizes with a size variable, for buttons and pending content, with a status pattern for screen readers. - [Stat](https://wovenui.com/components/docs/stat/): A CSS stat that shows a label, a large value and a change line with a trend marker, in three sizes, for dashboards and report summaries. - [Table](https://wovenui.com/components/docs/table/): A CSS table with sticky header and columns, selection, expandable rows, truncated cells, a summary row and striped styles. Selection and expand use the script. - [Tabs](https://wovenui.com/components/docs/tabs/): Accessible tabs following the WAI-ARIA tabs pattern, styled with CSS and started by the kit script. Card, boxed and vertical styles, plus disabled tabs. - [Tag](https://wovenui.com/components/docs/tag/): A CSS tag, the word chip for statuses, categories and filters, in role and hue colors, with link, button and filter chip tags and a remove button. - [Text](https://wovenui.com/components/docs/text/): A CSS text class that sets body text on any element, in three sizes and a muted color, with spacing between paragraphs for long-form copy. - [Textarea](https://wovenui.com/components/docs/textarea/): A CSS multi-line textarea with a bounded height that grows with the content, matching the text input look. - [Timeline](https://wovenui.com/components/docs/timeline/): A CSS timeline built on an ordered list of events, with markers, a rail, role colors, a progress mode and an optional drawing animation. No JavaScript required. - [Heading](https://wovenui.com/components/docs/title/): A CSS class that sets a heading size on any element in three sizes, independent of the heading level, so document outline and looks stay separate. - [Toast notification](https://wovenui.com/components/docs/toast/): Toast notifications in a polite live region, shown with toast() from the kit script. Role colors, four corner placements and an optional entrance animation. - [Toggle switch](https://wovenui.com/components/docs/toggle/): A CSS toggle switch built on a native checkbox with role switch, in three sizes, with invalid and disabled states and an optional spring thumb. No JavaScript. - [Toolbar](https://wovenui.com/components/docs/toolbar/): A CSS toolbar as a wrapping row of controls, with groups, separators, an end group and a boxed variant, for actions above tables and editors. - [Tooltip](https://wovenui.com/components/docs/tooltip/): CSS-only tooltips from core's data-tooltip attribute, with eight positions, three widths and variables. No JavaScript needed, and they work with the kit loaded. - [Top bar](https://wovenui.com/components/docs/topbar/): A CSS top bar for an application header, with a brand, a scrolling nav, an end group, a pinned variant and a scroll progress line. No JavaScript required. ## Optional - [WovenUI comparisons](https://wovenui.com/vs/): Overview of how WovenUI core compares with other tools. - [WovenUI vs Tailwind CSS](https://wovenui.com/vs/tailwind/): Syntax, custom values, compile-time errors, theming, RTL, tokens, build requirements, where styles live, component styles and bundle approach (including measured results for removing unused classes), with sources. - [WovenUI vs Bootstrap](https://wovenui.com/vs/bootstrap/): Components, syntax, customization, color modes, RTL and tokens, with sources. - [WovenUI vs Ant Design](https://wovenui.com/vs/ant-design/): A CSS foundation layer compared with a React component library, with sources. - [WovenUI vs Foundation](https://wovenui.com/vs/foundation/): Foundation for Sites compared on settings, XY grid, mixins, dark mode, design tokens and maintenance, with sources. - [WovenUI vs Bulma](https://wovenui.com/vs/bulma/): Two CSS-only Sass frameworks compared on components and modifiers versus utilities and apply(), CSS variables, theming and dark mode, with sources. - [WovenUI vs Pico CSS](https://wovenui.com/vs/pico/): A classless CSS framework compared with a utility-first Sass framework: semantic HTML defaults, Sass customization, CSS variables, dark mode and project status, with sources. - [WovenUI vs UnoCSS](https://wovenui.com/vs/unocss/): An on-demand atomic CSS engine compared with a Sass framework: @apply, presets, tokens, themes and compile-time errors, with sources.