Flux Pro component
This component is only available in the Pro version of Flux.

Command palette

A searchable list of commands.

Assign to…
⌘A
Create new file
Create new project
⌘⇧N
Documentation
Changelog
Settings
⌘,
No results found
Copy to clipboard

As a modal

Open a command palette as a modal for quick access to frequently used commands.

Assign to…
⌘A
Create new file
Create new project
⌘⇧N
Documentation
Changelog
Settings
⌘,
No results found
Copy to clipboard

Reference

flux:command

The root command palette component that wraps the input and items.

Attribute
Description
data-flux-command
Applied to the root element for styling and identification.

flux:command.input

Prop
Description
clearable
If true, displays a clear button when the input has content.
closable
If true, displays a close button to dismiss the command palette.
icon
Name of the icon displayed at the start of the input. Default: magnifying-glass.
placeholder
Placeholder text displayed when the input is empty.

flux:command.items

Container for command items. No props available.

flux:command.item

Prop
Description
icon
Name of the icon displayed at the start of the item.
icon:variant
Visual style of the icon. Options: outline (default), solid, mini, micro.
kbd
Keyboard shortcut hint displayed at the end of the item (e.g., ⌘K).
Attribute
Description
data-flux-command-item
Applied to the item element for styling and identification.
Copyright © 2025 Wireable LLC ·Terms of Service
Built with by
Caleb Porzio and Hugo Sainte-Marie