s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Svelte · Command Palette

CommandPaletteTrigger

No summary has been written for CommandPaletteTrigger. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

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.57.40

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.

Examples and explanation