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/stepper.md
1# Stepper23Multi-step progress indicator45**Parts:** `StepperRoot`, `StepperItem`, `StepperTrigger`, `StepperTitle`, `StepperDescription`, `StepperIndicator`, `StepperSeparator`67## StepperRoot89### Props10| Prop | Type | Default |11|------|------|---------|12| `as` | `AsTag \| Component` | `"div"` |13| `asChild` | `boolean` | - |14| `defaultValue` | `number` | `1` |15| `dir` | `"ltr" \| "rtl"` | - |16| `linear` | `boolean` | `true` |17| `modelValue` | `number` | - |18| `orientation` | `"vertical" \| "horizontal"` | `"horizontal"` |1920### Emits21| Event | Payload |22|-------|---------|23| `update:modelValue` | `[payload: number]` |2425### Slots26| Slot | Type |27|------|------|28| `modelValue` | `number \| undefined` |29| `totalSteps` | `number` |30| `isNextDisabled` | `boolean` |31| `isPrevDisabled` | `boolean` |32| `isFirstStep` | `boolean` |33| `isLastStep` | `boolean` |34| `goToStep` | `` |35| `nextStep` | `` |36| `prevStep` | `` |3738## StepperItem3940### Props41| Prop | Type | Default |42|------|------|---------|43| `as` | `AsTag \| Component` | `"div"` |44| `asChild` | `boolean` | - |45| `completed` | `boolean` | `false` |46| `disabled` | `boolean` | `false` |47| `step`* | `number` | - |4849### Slots50| Slot | Type |51|------|------|52| `state` | `"active" \| "completed" \| "inactive"` |5354## StepperTrigger5556### Props57| Prop | Type | Default |58|------|------|---------|59| `as` | `AsTag \| Component` | `"button"` |60| `asChild` | `boolean` | - |6162## StepperTitle6364### Props65| Prop | Type | Default |66|------|------|---------|67| `as` | `AsTag \| Component` | `"h4"` |68| `asChild` | `boolean` | - |6970## StepperDescription7172### Props73| Prop | Type | Default |74|------|------|---------|75| `as` | `AsTag \| Component` | `"p"` |76| `asChild` | `boolean` | - |7778## StepperIndicator7980### Props81| Prop | Type | Default |82|------|------|---------|83| `as` | `AsTag \| Component` | `"div"` |84| `asChild` | `boolean` | - |8586## StepperSeparator8788### Props89| Prop | Type | Default |90|------|------|---------|91| `as` | `AsTag \| Component` | `"div"` |92| `asChild` | `boolean` | - |93| `decorative` | `boolean` | - |94| `orientation` | `"vertical" \| "horizontal"` | - |95