Components › Display

Chip

A compact, removable token for filters and selections.

Installation

npx plankui@latest add chip

Usage

import { Chip } from "@/components/ui/chip";

<Chip onRemove={() => remove("Design")}>Design</Chip>

API reference

PropTypeDefaultDescription
variant"neutral" | "accent" | "success" | "warning" | "danger""neutral"Tone.
leadingReactNodeIcon or avatar before the label.
onRemove() => voidShows a remove button.

View the source on GitHub