@baneung-pack/ui
Selection

Command

cmdk 기반 ⌘K 팔레트. Input/List/Empty/Group/Item/Separator 합성.

예제

설치 / Import

import { Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem } from '@baneung-pack/ui';
import { Command } from '@baneung-pack/ui/command';

서브패스 import는 트리쉐이킹 친화 — 사용하지 않는 다른 컴포넌트는 번들에 포함되지 않습니다.

API

PropertyDescriptionTypeDefault
label스크린리더용 라벨string
filter커스텀 필터 함수(value, search) => number
childrenCommand.Input / List / Empty / Group / Item / SeparatorReactNode