Chip
A compact inline token for labeling content, with optional icons and multiple appearances.
Warning
This component is experimental and not yet stable for wide adoption. Use it with caution.
Installation
import { Chip } from "@o/pipeline/experimental/components/chip";
Usage
- Text
- Deleted
- Text + start icon
- Deleted
- Text + end icon
- Deleted
- Text + both icons
- Deleted
- Text (presentational)
- Deleted
- Text + start icon (presentational)
- Deleted
- Text + end icon (presentational)
- Deleted
- Text + both icons (presentational)
- Deleted
- Text (tooltip)
- Deleted
- Text + start icon (tooltip)
- Deleted
- Text + end icon (tooltip)
- Deleted
- Text + both icons (tooltip)
- Deleted
skeleton
skeleton stands the chip in as a placeholder while what it labels is loading, and makes it inert. The button appearance fills its box. The other appearances have no box to fill, so one bar covers their icons and text. Inside a loading SkeletonGroup it is on by default; see Skeleton.