Command
Understand the design system and contribute to it
Component preview
The live preview for UI components is handled by components/atoms/codedocs/ComponentPreview.tsx. Use it directly inside MDX whenever you want a playground-style embed. Provide componentProps to set default values and propOptions to surface toggle-able props next to the preview.
Command Palette
Search for a command to run...
Prop reference
Auto-generated from the component source
Command
className
React.ComponentProps<typeof CommandPrimitive>
CommandDialog
title= "Command Palette"description= "Search for a command to run..."childrenclassNameshowCloseButton= true
React.ComponentProps<typeof Dialog> & { title?: string; description?: string; className?: string; showCloseButton?: boolean; }
CommandEmpty
All props are forwarded to the underlying primitive.
React.ComponentProps<typeof CommandPrimitive.Empty>
CommandGroup
className
React.ComponentProps<typeof CommandPrimitive.Group>
CommandInput
className
React.ComponentProps<typeof CommandPrimitive.Input>
CommandItem
className
React.ComponentProps<typeof CommandPrimitive.Item>
CommandList
className
React.ComponentProps<typeof CommandPrimitive.List>
CommandSeparator
className
React.ComponentProps<typeof CommandPrimitive.Separator>
CommandShortcut
className
React.ComponentProps<"span">