Skip to main content

Command

Fast, composable, command menu for React. Perfect for building search interfaces, command palettes, and quick actions.

Installation

Basic Command

Command Dialog

Opens in a dialog with keyboard shortcut support (Cmd/Ctrl + K):

RTL Considerations

The Command component automatically adjusts icon positions, text alignment, and keyboard navigation for RTL layouts. Try toggling the direction to see it in action.

Accessibility

Fully keyboard navigable with arrow keys

Screen reader friendly with proper ARIA labels

Type-ahead search support

Focus management in dialog mode

Escape key closes the dialog