Compact
Compact Select
A 32px select with 6px corners and a tight list, suited to filters above a table.
src/components/ui/compact-select.tsxBehavior from @ui-sdk/react/select
Category filter
Memuat
Import
tsx
import {
CompactSelect,
CompactSelectTrigger,
CompactSelectValue,
CompactSelectContent,
CompactSelectItem,
} from "@/components/ui/compact-select";Guidelines
- For two to four options that stay visible, Compact Segmented is quicker to use.