Overview
The Chip component displays labels, tags, or status indicators with different variants and colors.Basic Usage
- Code
- Preview
Variants
Filled
- Code
- Preview
Tint
- Code
- Preview
Outline
- Code
- Preview
With Icons
- Code
- Preview
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "filled" | "tint" | "outline" | — | Visual style variant |
| color | "brand" | "danger" | "warning" | "success" | "important" | — | Color theme |
| icon | React.ReactNode | — | Icon to display |
| children | React.ReactNode | — | Chip content |
| className | string | — | Additional CSS classes |
Examples
Filter Chips
- Code
- Preview