Compact selectable chips for filters.
Add this item from the registry, or import it from the package after installing Default File UI.
Registry path
itsvigneshv/default-file-ui/choice-chipPackage import
import { ChoiceChip } from "@default-file/ui/components/df-choice-chip"Selectable chips for compact filters.
Compact selectable chip for filters and quick choices.
| Prop | Type | Default | Notes |
|---|---|---|---|
| selected | boolean | — | Selected (pressed) appearance. |
| disabled | boolean | — | Non-interactive chip. |
| children | ReactNode | — | Chip label. |
| className | string | — | Additional styles. |
| …button attributes | ButtonHTMLAttributes | — | Native button props (onClick, type, aria-*, etc.). |