Skip to content

Command

Source: client/lib/theme/vueda-tailwind/controls/index.js

The outer Command surface (a search + categorised result list). 4px card radius rather than the 2px control radius the rest of the picker family wears, because Command is a shell surface, not a slab control. The flex-column layout stacks CommandInput.root, CommandList.root, and optional CommandFooter.root into one chip, and overflow-hidden lets the inner list scroll without escaping the rounded corners. Used inline or hosted inside a CommandDialog.content.

Vue component: Command

SlotDefault classesDescription
rootbg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-vueda-cardThe outer Command surface (a search + categorised result list). 4px card radius rather than the 2px control radius the rest of the picker family wears, because Command is a shell surface, not a slab control. The flex-column layout stacks CommandInput.root, CommandList.root, and optional CommandFooter.root into one chip, and overflow-hidden lets the inner list scroll without escaping the rounded corners. Used inline or hosted inside a CommandDialog.content.

root

The outer Command surface (a search + categorised result list). 4px card radius rather than the 2px control radius the rest of the picker family wears, because Command is a shell surface, not a slab control. The flex-column layout stacks CommandInput.root, CommandList.root, and optional CommandFooter.root into one chip, and overflow-hidden lets the inner list scroll without escaping the rounded corners. Used inline or hosted inside a CommandDialog.content.

Default classes:

bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-vueda-card

Source: client/lib/theme/vueda-tailwind/controls/Command.theme.js:19

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2