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/command-palette.md
1# CommandPalette23A command palette with full-text search powered by Fuse.js for efficient fuzzy matching.45> Based on [Reka UI CommandPalette](https://reka-ui.com/docs/components/listbox)67## Key Props89- `groups`: as an array of objects with the following properties:1011- `id: string`{lang="ts-type"}12- `label?: string`{lang="ts-type"}13- `slot?: string`{lang="ts-type"}14- `items?: CommandPaletteItem[]`{lang="ts-type"}15- [`ignoreFilter?: boolean`{lang="ts-type"}](#with-ignore-filter)16- [`postFilter?: (searchTerm: string, items: T[]) => T[]`{lang="ts-type"}](#with-post-filtered-items)17- `highlightedIcon?: string`{lang="ts-type"}1819::caution20You must provide an `id` for each group otherwise the group will be ignored.2122- `multiple`: to allow multiple selections.23- `placeholder`: to change the placeholder text.24- `icon`: to customize the input [Icon](/docs/components/icon).25- `loading`: to show a loading icon on the CommandPalette.26- `close`: to display a [Button](/docs/components/button) to dismiss the CommandPalette.27- `back`: to customize or hide the back button (with `false` value) displayed when navigating into a submenu.28- `disabled`: to disable the CommandPalette.29- `virtualize`: to enable virtualization for large lists as a boolean or an object with options like `{ estimateSize: 32, overscan: 12 }`.30- `slot`:3132## Usage3334```vue35<UCommandPalette36<!-- props here -->37/>38```3940## Slots4142- `#footer`43- `#item`44