Overview
4 variants · 6 colors · 3 sizes · ChipGroup single/multi · icons · avatar · badge · removable
Chip variants
Chips represent compact attributes, filters, or actions without competing with primary buttons.
Use chips for concise, removable values or filter choices. Keep labels short enough to scan as a group.
Anatomy
- Root container and spacing boundary.
- Primary content and optional secondary metadata.
- State indicators and utility affordances (icons, badges, controls).
- Optional helper text, grouping, and behavioral wrappers.
When to use
- Choose Chip when a repeated, structured interaction is required.
- Use it for clear, consistent operations across similar surfaces.
- Use in forms, lists, and action workflows where clarity matters.
When not to use
- Do not use only for decorative layout without interaction meaning.
- Avoid duplicating the same behavior without distinct user context.
- Prefer simpler HTML or textual content for static, non-interactive labels.
Variants
Component variants should be documented by API props and examples below.
States
Common states include idle, active, disabled, focused, and loading/pending states where applicable.
Behavior
Behavior should remain deterministic and keyboard-friendly, with clear visual feedback for every state transition.
Accessibility
- Use semantic structure and visible labels whenever possible.
- Preserve keyboard navigation and focus visibility.
- Announce status and changes when context requires it.
Content guidelines
- Prefer short, clear labels.
- Keep content actions scannable and outcome-oriented.
- Use consistent wording across similar components.
Examples
Variants
outlined, filled, tonal, and elevated chip styles
Colors — selected state
All six color variants shown in outlined and filled styles
ChipGroup — single select
mode=single allows only one chip to be active at a time
ChipGroup — multi select
mode=multi allows any number of chips to be selected simultaneously
Overflow
max prop limits visible chips and adds a +N more indicator
With icons
leadingIcon renders an icon before the label — must be a valid IconName from omverse-ui
With badge
badgeCount shows a numeric badge after the label
Loading
loading prop replaces the chip content with a spinner
Input chips — removable
removable adds a × button; onRemove fires when it's clicked
With avatar
avatarSrc renders a profile image before the label
Color dot
colorDot renders a small colored circle before the label
Sizes
sm, md (default), and lg chip sizes
Disabled
disabled prevents all interaction
Chip props
ChipGroup props
Props / API
Api Props
Props