A shadcn-style command component built with Ark UI primitives.

Installation

npx shadcn@latest add @ark-cn/command

Usage

import * as Command from "@/components/ui/command"

Read exported parts in src/components/ui/command.tsx and compose the primitive according to the Ark UI pattern for this component.

Examples

Palette

Standalone

Profile
Settings
Billing
Log out

API reference

This component mirrors the upstream Ark UI primitive. All props and DOM behavior are defined by Ark unless you see an ark-cn-only row below.

CommandDialogPopup

PropTypeDescription
backdropClassName?stringExtra class on the backdrop.
positionerClassName?stringExtra class on the positioner wrapper.

See the ARK UI documentation for the full API.