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/pin-input.md
1# Pin Input23Multi-character code entry (OTP)45**Parts:** `PinInputRoot`, `PinInputInput`67## PinInputRoot89### Props10| Prop | Type | Default |11|------|------|---------|12| `as` | `AsTag \| Component` | `"div"` |13| `asChild` | `boolean` | - |14| `defaultValue` | `string[]` | - |15| `dir` | `"ltr" \| "rtl"` | - |16| `disabled` | `boolean` | - |17| `id` | `string` | - |18| `mask` | `boolean` | - |19| `modelValue` | `string[]` | - |20| `name` | `string` | - |21| `otp` | `boolean` | - |22| `placeholder` | `string` | `""` |23| `required` | `boolean` | - |24| `type` | `"number" \| "text"` | `"text"` |2526### Emits27| Event | Payload |28|-------|---------|29| `complete` | `[value: string[]]` |30| `update:modelValue` | `[value: string[]]` |3132### Slots33| Slot | Type |34|------|------|35| `modelValue` | `string[]` |3637## PinInputInput3839### Props40| Prop | Type | Default |41|------|------|---------|42| `as` | `AsTag \| Component` | `"input"` |43| `asChild` | `boolean` | - |44| `disabled` | `boolean` | - |45| `index`* | `number` | - |46