@vuetify/v0
Headless Vue 3 UI primitives and composables for building modern applications and design systems. @vuetify/v0 is the foundation of the Vuetify ecosystem, offering lightweight, unstyled building blocks with full TypeScript support and accessibility features built-in.
Note: v0 is stable — v1.0.0 shipped July 22, 2026 and the stable API surface is locked under SemVer . Preview-level APIs (flagged in the roadmap ) may still see documented changes.
Repository Structure
This is a pnpm monorepo containing:
Requirements
Node.js >= 26
pnpm >= 10.6
Vue >= 3.5.0
Installation
npm install @vuetify/v0@latest
# or
pnpm add @vuetify/v0
# or
yarn add @vuetify/v0
# or
bun add @vuetify/v0
Nightly Builds
Daily snapshots publish as @vuetify/v0-nightly. Alias the package so imports stay @vuetify/v0:
# Pin a build (<version>-<branch>.<date>). Example:
pnpm add @vuetify/v0@npm:@vuetify/[email protected]
# Or track master / dev
pnpm add @vuetify/v0@npm:@vuetify/v0-nightly@nightly
pnpm add @vuetify/v0@npm:@vuetify/v0-nightly@nightly-dev
Nightlies are unstable and not for production. See the Nightly Builds guide .
CLI
The Vuetify CLI scaffolds projects and seeds working examples from the docs registry.
Create a Project
pnpm create vuetify0
# or
pnpm dlx @vuetify/cli init
Seed Examples
v0 is headless — importing a component gives you logic and accessibility, not a rendered UI. Use vuetify add to pull a styled example from the docs registry into your project:
# Interactive picker
pnpm dlx @vuetify/cli add
# Seed a specific component
pnpm dlx @vuetify/cli add dialog
# Seed a composable plugin
pnpm dlx @vuetify/cli add use-theme
See the CLI guide for registry options, vuetify.json tracking, and the full command list.
Exports
The package provides tree-shakeable subpath exports:
import { ... } from '@vuetify/v0' // Everything
import { ... } from '@vuetify/v0/components' // Components only
import { ... } from '@vuetify/v0/composables' // Composables only
import { ... } from '@vuetify/v0/utilities' // Utilities only
import { ... } from '@vuetify/v0/types' // Types only
import { ... } from '@vuetify/v0/constants' // Constants only
import { ... } from '@vuetify/v0/date' // Date adapter and utilities
What’s Included
Components
Primitives
Component
Description
AspectRatio
Fixed width-to-height ratio container via CSS aspect-ratio
Atom
Polymorphic base element with dynamic as prop and renderless mode
Portal
Teleport wrapper with automatic z-index stacking via useStack
Presence
Animation-agnostic mount lifecycle with lazy mounting and exit timing
Providers
Component
Description
Group
Multi-selection with tri-state support
Locale
Locale context provider for internationalization
Scrim
Overlay backdrop with click-to-dismiss and z-index management
Selection
Multi-selection state with v-model binding
Single
Single-selection with automatic deselection
Step
Sequential navigation (first, last, next, prev)
Theme
Theme context provider with CSS variable injection
Actions
Component
Description
Button
Button with loading grace period, toggle groups, and icon accessibility
Toggle
Pressable on/off button with standalone and group modes
Disclosure
Component
Description
AlertDialog
Confirmation dialog with deferred close and wait()/close() pattern
Collapsible
Single-item disclosure toggle for showing and hiding content
Dialog
Modal dialog using native <dialog> with focus management
ExpansionPanel
Accordion-style collapsible panels
Menu
Actions from a button, a right-click, or a menubar
Popover
CSS anchor-positioned popup content
Tabs
Tab panel navigation with keyboard support and lazy content rendering
Tooltip
Description tooltip with hover/focus triggers
Tour
Guided product tour with activator highlighting and step navigation
Treeview
Hierarchical tree with nested selection and expand/collapse
Component
Description
Checkbox
Dual-mode checkbox (standalone/group) with tri-state support
Combobox
Filterable selection with autocomplete, virtual focus, and custom input
Form
Form validation coordinator with submit handling and error aggregation
Input
Text input with label, description, error messages, and character counting
NumberField
Numeric input with increment/decrement, scrub, and Intl formatting
Otp
One-time-password / verification-code boxes with auto-advance, paste, and completion
Radio
Radio group with single-selection and keyboard navigation
Select
Dropdown selection with virtual focus and multi-select support
Rating
Star/icon rating with hover preview, half-stars, and keyboard navigation
Slider
Range input with snapping, range mode, and custom tracks
Switch
Toggle switch with on/off states and label association
TimePicker
Segmented hour, minute, and second spinbuttons with an optional meridiem
Data
Component
Description
DataGrid
Headless data grid with column layout, cell editing, row ordering, and row spanning
DataTable
Headless table with sorting, pagination, selection, and expansion
Kanban
Board of movable items in columns with pointer drag, keyboard moves, and per-column v-model
Virtualizer
Virtualized list that renders only the visible window, with automatic row measurement
Semantic
Component
Description
Alert
Inline status message with ARIA live-region semantics
Avatar
Image/fallback avatar with priority loading
Breadcrumbs
Navigation breadcrumbs with overflow detection and truncation
Carousel
Scroll-snap slide navigation with multi-slide display and drag/swipe
Image
Image with placeholder, error fallback, and lazy loading
Overflow
Responsive truncation primitive with overflow detection and indicator
Pagination
Page navigation with semantic <nav> wrapper
Progress
Headless progress indicator with multi-segment and buffer support
Snackbar
Toast notification with queue, positioning, and auto-dismiss
Splitter
Resizable panel layout with drag handles
Composables
Foundation
Core factories that provide the foundation for all other composables:
Registration
Base data structures that most other composables build upon:
createRegistry - Ordered, keyed collection — a plain object over a ReadonlyMap — with indexing, caching, and event support
createQueue - FIFO queue with timeout management (notifications/toasts)
createTimeline - Bounded undo/redo history
createTokens - Design token registry with alias resolution
Selection
Selection management composables built on createRegistry:
createSelection - Base selection with Set-based tracking
createModel - Value store for single-value state
createGroup - Multi-selection with tri-state/mixed support
createSingle - Single-selection specialization
createStep - Navigation through items (first, last, next, prev)
createNested - Hierarchical tree management with parent-child relationships and open state
createCalendar - Gregorian month grid with single and range selection
createForm - Form validation and state management with async rules
createInput - Shared form field state: validation, dirty/pristine, ARIA IDs
createNumberField - Numeric input state with formatting, stepping, and validation
createNumeric - Pure numeric math primitive: clamp, snap, step, percentage, and circular wrapping
createOtp - OTP / verification code state with pattern-gated entry and decisional completion hook
createValidation - Field-level validation with sync/async rules
createCombobox - Combobox state management with filtering and virtual focus
createRating - Bounded rating value with discrete items and half-step support
createSlider - Slider state with snapping, range mode, and step control
createTimePicker - Segmented time value with 12- and 24-hour cycles, step snapping, and min/max bounds
Data
createDataGrid - Headless data grid layering column layout, cell editing, row ordering, and row spanning on top of createDataTable
createDataTable - Data table with sort, filter, pagination, row selection, grouping, and adapter pattern
createFilter - Reactive array filtering with multiple modes
createKanban - Two-level sortable orchestrator (columns + items)
createPagination - Lightweight page navigation
createSortable - Ordered-list state with move / swap / reorder and a disabled mutation gate
createVirtual - Virtual scrolling for large lists
Semantic
Reactivity
System
useClickOutside - Click outside detection with cleanup
useDelay - Schedule open and close transitions with configurable delays
useDragDrop - Headless drag-and-drop primitive with two registries, pluggable adapters, and accessibility-first defaults
useEventListener - Lifecycle-managed event listeners
useFocusTrap - Confine Tab and Shift+Tab to a root element
useHotkey - Hotkey combinations and sequences
useImage - Image loading state machine with deferred loading and retry
useIntersectionObserver - Intersection observer with auto-cleanup
useLazy - Deferred content rendering for dialogs, menus, and tooltips
useMediaQuery - Reactive CSS media query matching
useMutationObserver - DOM mutation observation
usePopover - Popover positioning and anchor management
useRaf - requestAnimationFrame loop with start/stop control
useResizeObserver - Resize observer utilities
useRovingFocus - Roving tabindex keyboard navigation
usePresence - Animation-agnostic mount lifecycle with lazy mounting and exit timing
useTimer - Countdown and interval timer with pause/resume
useToggleScope - Conditional effect scope management
useTypeahead - Prefix matching for typed characters with a one-second buffer
useVirtualFocus - Virtual focus management via aria-activedescendant
Plugins
Plugin-capable composables following the trinity pattern:
useBreakpoints - Responsive breakpoint detection
useDate - Date manipulation with adapter pattern and locale sync
useFeatures - Feature flags with variations
useHydration - SSR hydration helpers
useLocale - Internationalization with message interpolation
useLogger - Logging adapter (consola/pino/custom)
useNotifications - Toast/snackbar queue management with positioning
usePermissions - RBAC/ABAC permission system
useReducedMotion - Respect or override the prefers-reduced-motion media query
useRtl - Right-to-left text direction detection and management
useRules - Validation rule adapter with built-in rule library
useStack - Overlay z-index stacking with automatic scrim coordination
useStorage - Storage adapter (localStorage/sessionStorage/memory)
useTheme - Theme management with CSS variable injection
useTooltip - Region-scoped tooltip delay coordination
useTour - Headless guided-tour sequencer with step collection, activators, form-gated navigation, and an app-level plugin
toArray - Array transformation utilities
toElement - Normalize refs, selectors, and elements to DOM elements
toHighlight - Split text into matched and unmatched chunks for query highlighting
toReactive - Reactive object conversion
Design Principles
Headless First : Components provide logic and accessibility without imposed styling
Slot-Driven : Maximum flexibility through comprehensive slot APIs
CSS Variables : All styling configurable via --v0-* custom properties
TypeScript Native : Full type safety with generics for extensibility
Minimal Dependencies : Only Vue 3.5+ required (markdown libraries optional)
Composable Architecture : Reusable logic through Vue 3 composables
Documentation
For detailed API documentation, examples, and guides, visit 0.vuetifyjs.com .
Development
# Install dependencies
pnpm install
# Start playground
pnpm dev
# Start documentation site
pnpm dev:docs
# Run tests
pnpm test
# Run tests (CI mode)
pnpm test:run
# Type check
pnpm typecheck
# Lint
pnpm lint:fix
# Full validation (lint + typecheck + test)
pnpm validate
Contributing
Vuetify0 is stable and open for bug reports, feature requests, and contributions. See the Roadmap for what’s planned and how to get involved.
License
MIT License
Built with care for the Vue ecosystem. Part of the Vuetify family.
评论