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/splitter.md
1# Splitter23Resizable split panels45**Parts:** `SplitterGroup`, `SplitterPanel`, `SplitterResizeHandle`67## SplitterGroup89### Props10| Prop | Type | Default |11|------|------|---------|12| `as` | `AsTag \| Component` | `"div"` |13| `asChild` | `boolean` | - |14| `autoSaveId` | `string \| null` | `null` |15| `direction`* | `"vertical" \| "horizontal"` | - |16| `id` | `string \| null` | - |17| `keyboardResizeBy` | `number \| null` | `10` |18| `storage` | `PanelGroupStorage` | `defaultStorage` |1920### Emits21| Event | Payload |22|-------|---------|23| `layout` | `[val: number[]]` |2425### Slots26| Slot | Type |27|------|------|28| `layout` | `number[]` |2930## SplitterPanel3132### Props33| Prop | Type | Default |34|------|------|---------|35| `as` | `AsTag \| Component` | `"div"` |36| `asChild` | `boolean` | - |37| `collapsedSize` | `number` | - |38| `collapsible` | `boolean` | - |39| `defaultSize` | `number` | - |40| `id` | `string` | - |41| `maxSize` | `number` | - |42| `minSize` | `number` | - |43| `order` | `number` | - |4445### Emits46| Event | Payload |47|-------|---------|48| `collapse` | `[]` |49| `expand` | `[]` |50| `resize` | `[size: number, prevSize: number]` |5152### Slots53| Slot | Type |54|------|------|55| `isCollapsed` | `boolean` |56| `isExpanded` | `boolean` |5758## SplitterResizeHandle5960### Props61| Prop | Type | Default |62|------|------|---------|63| `as` | `AsTag \| Component` | `"div"` |64| `asChild` | `boolean` | - |65| `disabled` | `boolean` | - |66| `hitAreaMargins` | `PointerHitAreaMargins` | - |67| `id` | `string` | - |68| `tabindex` | `number` | `0` |6970### Emits71| Event | Payload |72|-------|---------|73| `dragging` | `[isDragging: boolean]` |74