Chips

Selectable filter chips built from checkboxes.

CSS onlyMulti select
BackgroundGridAccent

Corners

SharpDefaultRound

Shadow

NoneNoneStrong

Motion

NoneDefaultBounce
<style>
.ux-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:300px}
.ux-chips input{position:absolute;opacity:0;pointer-events:none}
.ux-chips span{display:inline-flex;align-items:center;height:36px;padding:0 14px;border:1px solid var(--line,#cfd2da);border-radius:var(--rp,999px);color:var(--fg,#14151a);font:500 14px system-ui;cursor:pointer;transition:background-color var(--dur,.15s) var(--ease,ease),border-color var(--dur,.15s) var(--ease,ease),color var(--dur,.15s) var(--ease,ease)}
.ux-chips span:hover{background:var(--soft,#eceef3)}
.ux-chips input:checked+span{background:color-mix(in srgb,var(--accent,#cc4a26) 14%,transparent);border-color:var(--accent,#cc4a26);color:var(--accent,#cc4a26)}
.ux-chips input:focus-visible+span{outline:2px solid var(--accent,#cc4a26);outline-offset:2px}
</style>

<div class="ux-chips"><label><input type="checkbox" checked><span>Design</span></label><label><input type="checkbox"><span>Motion</span></label><label><input type="checkbox" checked><span>Prototyping</span></label><label><input type="checkbox"><span>Research</span></label><label><input type="checkbox"><span>Branding</span></label></div>

When to use it

Reach for this when someone has to pick from a small, visible set of options rather than typing free text. It works best when every choice fits on screen at once.

Accessibility

Check that it reaches every state with the keyboard alone before you ship it, and keep the focus ring instead of removing it for looks. It has no JavaScript dependency, so it keeps working if a script fails to load, and it is built on native form controls or semantics rather than divs pretending to be one. Colors are read from CSS custom properties, so they follow your light or dark theme and you can raise contrast globally without touching this component.