s-private API Documentation - v3.8.1
    Preparing search index...
    • Root command palette component.

      Parameters

      • props: Children & Pick<
            Pick<
                DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
                "key" | (keyof HTMLAttributes<HTMLDivElement>),
            > & {} & {},
            "key" | "asChild" | (keyof HTMLAttributes<HTMLDivElement>),
        > & {} & RefAttributes<HTMLDivElement>

        cmdk Command props

      Returns Element

      A command palette container

      Built on the cmdk library. Provides a searchable command menu with keyboard navigation. Use with CommandInput, CommandList, CommandGroup, and CommandItem for a complete command palette.

      <Command>
      <CommandInput placeholder="Search..." />
      <CommandList>
      <CommandGroup heading="Actions">
      <CommandItem>Action 1</CommandItem>
      <CommandItem>Action 2</CommandItem>
      </CommandGroup>
      </CommandList>
      </Command>