4.2.0
CoreCommand

Command API

Every prop of the 9 parts Command exports, generated from the package manifest.

import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from '@oceanic-hub/brand-system'
Layer
core — shadcn-derived primitives.
Exports
Command · CommandDialog · CommandEmpty · CommandGroup · CommandInput · CommandItem · CommandList · CommandSeparator · CommandShortcuttypes: CommandDialogProps
Contract
packages/brand-system/src/components/command.contract.test-d.ts
Demos
6 on the Command page — rendered live, hydrated
Source
packages/brand-system/src/components/command.tsx

Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Command is for, how it composes and what it looks like, see Command.

Command

Inherited from cmdk — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

CommandDialog

CommandDialogProps

Prop

Type

CommandEmpty

Inherited from cmdk — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

CommandGroup

Inherited from cmdk — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

CommandInput

Inherited from cmdk — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

CommandItem

Inherited from cmdk — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

CommandList

Inherited from cmdk — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

CommandSeparator

Inherited from cmdk — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

CommandShortcut

A styled <span> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

On this page