Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Build accessible, unstyled Vue 3 components using Reka UI (formerly Radix Vue) with WAI-ARIA compliance.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/toolbar.md
1# Toolbar23Toolbar with buttons/toggles45**Parts:** `ToolbarRoot`, `ToolbarButton`, `ToolbarLink`, `ToolbarToggleGroup`, `ToolbarToggleItem`, `ToolbarSeparator`67## ToolbarRoot89### Props10| Prop | Type | Default |11|------|------|---------|12| `as` | `AsTag \| Component` | `"div"` |13| `asChild` | `boolean` | - |14| `dir` | `"ltr" \| "rtl"` | - |15| `loop` | `boolean` | - |16| `orientation` | `"vertical" \| "horizontal"` | `"horizontal"` |1718## ToolbarButton1920### Props21| Prop | Type | Default |22|------|------|---------|23| `as` | `AsTag \| Component` | `"button"` |24| `asChild` | `boolean` | - |25| `disabled` | `boolean` | - |2627## ToolbarLink2829### Props30| Prop | Type | Default |31|------|------|---------|32| `as` | `AsTag \| Component` | `"a"` |33| `asChild` | `boolean` | - |3435## ToolbarToggleGroup3637### Props38| Prop | Type | Default |39|------|------|---------|40| `as` | `AsTag \| Component` | `"div"` |41| `asChild` | `boolean` | - |42| `defaultValue` | `string \| string[]` | - |43| `dir` | `"ltr" \| "rtl"` | - |44| `disabled` | `boolean` | - |45| `loop` | `boolean` | - |46| `modelValue` | `string \| string[]` | - |47| `orientation` | `"vertical" \| "horizontal"` | - |48| `rovingFocus` | `boolean` | - |49| `type` | `"single" \| "multiple"` | - |5051### Emits52| Event | Payload |53|-------|---------|54| `update:modelValue` | `[payload: string \| string[]]` |5556## ToolbarToggleItem5758### Props59| Prop | Type | Default |60|------|------|---------|61| `as` | `AsTag \| Component` | `"div"` |62| `asChild` | `boolean` | - |63| `disabled` | `boolean` | - |64| `value`* | `string` | - |6566## ToolbarSeparator6768### Props69| Prop | Type | Default |70|------|------|---------|71| `as` | `AsTag \| Component` | `"div"` |72| `asChild` | `boolean` | - |73