Svelte · Command Palette
CommandPaletteTrigger
The shell control that opens the palette: a search glyph, a label and the shortcut hint. Place it in a shell slot (the header center or end is the usual home) through `AppShell` `slotItems`. On narrow screens only the glyph shows; the accessible name stays the label.Public export
typescript
import { CommandPaletteTrigger } from '@happyvertical/smrt-svelte/command-palette';- Import path
@happyvertical/smrt-svelte/command-palette- Props
- 5
- Props described
- 5 of 5
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
paletteCommandPaletteControllerNoThe palette to open; default: the one on context.labelstringNoButton text and accessible name (default "Search").hotkeysreadonly string[]NoHint shown after the label: the first shortcut. Match `hotkeys` on the dialog.compactbooleanNoGlyph only, at every width.classstringNoExtra class on the button.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.