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

Svelte · Command Palette

CommandPaletteDialog

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

Public export

typescript
import { CommandPaletteDialog } from '@happyvertical/smrt-svelte/command-palette';
Import path
@happyvertical/smrt-svelte/command-palette
Props
4
Props described
4 of 4
Bindable state
0
Callback events
0
Verified release
0.57.40

Props

NameTypeRequiredDescription
paletteCommandPaletteControllerNoThe palette to drive; default: the one on context.
hotkeysreadonly string[] | falseNoShortcuts that toggle the palette, e.g. `['Mod+K', '/']`. `false` installs none (open it from your own control).
labelstringNoAccessible name of the dialog.
placeholderstringNoSearch box placeholder.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation