Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reference for Nuxt UI v4 (125+ components built on Reka UI + Tailwind CSS v4) including forms, overlays, and theming.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/input-menu.md
1# InputMenu23An autocomplete input with real-time suggestions.45> Based on [Reka UI InputMenu](https://reka-ui.com/docs/components/combobox)67## Key Props89- `items`: as an array of strings, numbers or booleans:1011## ::component-code1213prettier: true14ignore:1516- modelValue17- items18external:19- items20- modelValue21props:22modelValue: 'Backlog'23items: - Backlog - Todo - In Progress - Done2425---2627::2829You can also pass an array of objects with the following properties:3031- `label?: string`{lang="ts-type"}32- [`type?: "label" | "separator" | "item"`{lang="ts-type"}](#with-items-type)33- [`icon?: string`{lang="ts-type"}](#with-icons-in-items)34- [`avatar?: AvatarProps`{lang="ts-type"}](#with-avatar-in-items)35- [`chip?: ChipProps`{lang="ts-type"}](#with-chip-in-items)36- `disabled?: boolean`{lang="ts-type"}37- `onSelect?: (e: Event) => void`{lang="ts-type"}38- `class?: any`{lang="ts-type"}39- `ui?: { tagsItem?: ClassNameValue, tagsItemText?: ClassNameValue, tagsItemDelete?: ClassNameValue, tagsItemDeleteIcon?: ClassNameValue, label?: ClassNameValue, separator?: ClassNameValue, item?: ClassNameValue, itemLeadingIcon?: ClassNameValue, itemLeadingAvatarSize?: ClassNameValue, itemLeadingAvatar?: ClassNameValue, itemLeadingChip?: ClassNameValue, itemLeadingChipSize?: ClassNameValue, itemLabel?: ClassNameValue, itemTrailing?: ClassNameValue, itemTrailingIcon?: ClassNameValue }`{lang="ts-type"}4041## ::component-code4243ignore:4445- modelValue.46- `multiple`: to allow multiple selections, the selected items will be displayed as tags.47- `placeholder`: to set a placeholder text.48- `content`: to control how the InputMenu content is rendered, like its `align` or `side` for example.49- `arrow`: to display an arrow on the InputMenu.50- `color`: to change the ring color when the InputMenu is focused.51- `variant`: to change the variant of the InputMenu.52- `size`: to change the size of the InputMenu.53- `icon`: to show an [Icon](/docs/components/icon) inside the InputMenu.54- `avatar`: to show an [Avatar](/docs/components/avatar) inside the InputMenu.5556## Usage5758```vue59<UInputMenu60<!-- props here -->61/>62```6364## Slots6566- `#leading`67