saturation/uisaturation/ui
DocsComponentsBlocksPagesEmails
GitHub

Sections

IntroductionComponentsInstallationMCPThemingDesignComposing a Detail Panel

Components

Components

General

AvatarBadgeButtonKbdProgressSeparatorSkeletonSpin ResolveSpinnerSplit ButtonSync ButtonTypography

Forms & Inputs

Address LookupCalendar PickerCheckboxColor PickerComboboxDate PickerEmoji PickerFavicon SearchFieldInputInput GroupInput OTPRadio GroupSelectSliderSwitchTextareaToggleToggle Group

Data Display

AccordionAlertCardChartComparison SliderCredit CardData TableEmptyItemMarkdownSaturation Credit CardStatus BadgeTableTree

Detail Panels

Detail FieldDetail HeroDetail Toolbar

Navigation

BreadcrumbCommandMenubarNavigation MenuPaginationTabs

Overlays

CollapsibleContext MenuDialogDropdown MenuHover CardSheet

Layout

Button GroupFont ProviderWizard Split Layout

Feedback

Sonner

Animation & Effects

Animated GroupAnimated ListAnimated NumberBeamBlur FadeBorder TrailGlow EffectLiquid MetalLoading StateParallaxPixelProgressive BlurRippleSpotlightText EffectText Shimmer

Productivity

Agent ChatAI Chat InputCoding AgentFiltersFull CalendarKanbanNovel Editor
Docs/Components/Command

Command

Fast, composable command menu for React. Perfect for search, quick actions, and Cmd+K interfaces.

Loading...

Installation

pnpm dlx shadcn@latest add @saturation-ui/command

Tailwind v4 — Source Scanning

The public shadcn registry installs component source into your project. If Tailwind v4 isn't scanning your components directory, add this to your CSS entry file:

@source "../components";

This ensures all utility classes in CVA variants and data attribute selectors are included in your build.

Usage

import {
  Command,
  CommandDialog,
  CommandEmpty,
  CommandGroup,
  CommandInput,
  CommandItem,
  CommandList,
} from "@/components/ui/command"
<Command>
  <CommandInput placeholder="Type a command or search..." />
  <CommandList>
    <CommandEmpty>No results found.</CommandEmpty>
    <CommandGroup heading="Suggestions">
      <CommandItem>Calendar</CommandItem>
      <CommandItem>Search</CommandItem>
    </CommandGroup>
  </CommandList>
</Command>

Examples

Dialog

Loading...
Command in a dialog.

Command Palette

Loading...
Palette interface.

With Groups

Loading...
Grouped sections with shortcuts.

API Reference

PropTypeDefaultDescription
childrenReact.ReactNode—Command menu content.
PreviousComboboxNextComparison Slider

On This Page

  • Installation
  • Usage
  • Examples
  • Dialog
  • Command Palette
  • With Groups
  • API Reference
No results found.
Suggestions
Calendar
Search Emoji
Calculator
Settings
Profile
Billing
Settings

Command Palette

Search for a command to run...

No results found.
Actions
Create New Project
Search Documents
Navigation
Dashboard
Documents
Team Members
Branches
Settings
No results found.
Suggestions
Calendar⌘C
Messages⌘M
Calculator⌘K
Settings
Profile⌘P
Mail⌘B
Billing⌘S
Settings⌘,