Files
ui/docs/content/3.components/command-palette.md

82 lines
1.1 KiB
Markdown

---
title: CommandPalette
description: A command palette to search and execute commands with full-text search.
links:
- label: Combobox
icon: i-custom-radix-vue
to: https://www.radix-vue.com/components/combobox.html
- label: GitHub
icon: i-simple-icons-github
to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/CommandPalette.vue
---
## Usage
## Examples
### Control search term
### Control selected value
### With fetched items
### With filtered items
### Within a modal
### Within a drawer
### Within a popover
### Listen open state
### With custom search
### With highlighted search
### With custom slot
### With empty slot
## API
### Props
::component-props
---
ignore:
- as
- to
- target
- active
- activeClass
- inactiveClass
- exactActiveClass
- ariaCurrentValue
- href
- rel
- noRel
- prefetch
- prefetchOn
- noPrefetch
- prefetchedClass
- replace
- exact
- exactQuery
- exactHash
- external
---
::
### Slots
:component-slots
### Emits
:component-emits
## Theme
:component-theme