Chip

Pill buttons for bars over a canvas; aria-pressed shows one on.

Installation

Examples

Default

demo.tsx

States

aria-pressed shows a chip on, and disabled dims it.

states.tsx

As a menu trigger

A chip that opens a menu or a popover stays lit while it's open.

menu.tsx

Anatomy

Each part's data-slot, which a theme styles, is beside it.