Skip to content

Command Palette

An accessible ⌘K dialog with fuzzy search, match highlighting, groups and a spring selection that glides between rows. Arrow keys, Enter and Escape.

Plan
Pro · commercial license
Dependencies
React only
Props
16 (12 adjustable)

Included in Pro and Lifetime. See pricing

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
groupsCommandGroup[]"Suggestions, Navigation, Preferences"Command groups: { heading, items: { id, label, hint?, shortcut?, icon?, keywords? }[] }.
openboolean""Open or closed (controlled mode).
defaultOpenbooleanfalseOpen on mount (uncontrolled mode).
onOpenChange(open: boolean) => void""Called when it opens or closes.
onSelect(item: CommandItem) => void""Called when a command is chosen.
placeholderstring"Type a command or search…"Placeholder text of the search field.
labelstring"Command palette"Accessible label of the dialog.
emptyTextstring"No results"Text shown when there are no results.
triggerLabelstring"Search or run…"Text of the button that opens it.
navigateLabelstring"navigate"Text of the arrow-keys hint in the dialog footer.
selectLabelstring"select"Text of the Enter hint in the dialog footer.
closeLabelstring"close"Text of the Escape hint in the dialog footer.
executedLabelstring"Ran:"Prefix of the notice shown after a command is chosen.
hotkeybooleantrueOpens and closes with ⌘K or Ctrl+K.
inlinebooleanfalseRenders inside its container instead of covering the window.
backdropbooleantrueDraws a sample interface behind it so the glass is visible (inline mode only).

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Command Palette

npx shadcn@latest add @furin-pro/command-palette

Dependencies

React
18 or later
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • A theme switch (role switch) where the sun morphs into a moon, the clouds sink and the stars come out, all on springs.

    Navigation

  • Dock

    Free

    A bar of icons that magnify under the cursor, on glass.

    Navigation

  • A slider (role slider, full keyboard support) that stretches like rubber when dragged past its limits and snaps back with a bounce; the track squashes to preserve volume.

    Navigation