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/tabs.md
1# Tabs23Tabbed content panels45**Parts:** `TabsRoot`, `TabsList`, `TabsTrigger`, `TabsContent`, `TabsIndicator`67## TabsRoot89### Props10| Prop | Type | Default |11|------|------|---------|12| `activationMode` | `"automatic" \| "manual"` | `"automatic"` |13| `as` | `AsTag \| Component` | `"div"` |14| `asChild` | `boolean` | - |15| `defaultValue` | `string \| number` | - |16| `dir` | `"ltr" \| "rtl"` | - |17| `modelValue` | `string \| number` | - |18| `orientation` | `"vertical" \| "horizontal"` | `"horizontal"` |1920### Emits21| Event | Payload |22|-------|---------|23| `update:modelValue` | `[payload: StringOrNumber]` |2425### Slots26| Slot | Type |27|------|------|28| `modelValue` | `string \| number` |2930## TabsList3132### Props33| Prop | Type | Default |34|------|------|---------|35| `as` | `AsTag \| Component` | `"div"` |36| `asChild` | `boolean` | - |37| `loop` | `boolean` | `true` |3839## TabsTrigger4041### Props42| Prop | Type | Default |43|------|------|---------|44| `as` | `AsTag \| Component` | `"button"` |45| `asChild` | `boolean` | - |46| `disabled` | `boolean` | `false` |47| `value`* | `string \| number` | - |4849## TabsContent5051### Props52| Prop | Type | Default |53|------|------|---------|54| `as` | `AsTag \| Component` | `"div"` |55| `asChild` | `boolean` | - |56| `forceMount` | `boolean` | - |57| `value`* | `string \| number` | - |5859## TabsIndicator6061### Props62| Prop | Type | Default |63|------|------|---------|64| `as` | `AsTag \| Component` | `"div"` |65| `asChild` | `boolean` | - |66