Checkbox
Checkbox for multiple choices, with a checkmark that pops in.
Corners
Shadow
Motion
<style>
.ux-checks{display:grid;gap:14px;font:500 15px system-ui;color:var(--fg,#14151a)}
.ux-checks label{display:flex;align-items:center;gap:10px;cursor:pointer}
.ux-checks input{position:absolute;opacity:0}
.ux-checks span{display:grid;place-items:center;width:20px;height:20px;border-radius:calc(6px * var(--r,1));border:2px solid var(--line,#cfd2da);transition:background var(--dur,.15s) var(--ease,ease),border-color var(--dur,.15s) var(--ease,ease)}
.ux-checks span::after{content:"";width:5px;height:10px;margin-top:-2px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);transition:transform var(--dur,.15s) var(--ease,ease)}
.ux-checks input:checked+span{background:var(--accent,#cc4a26);border-color:var(--accent,#cc4a26)}
.ux-checks input:checked+span::after{transform:rotate(45deg) scale(1)}
.ux-checks input:focus-visible+span{outline:2px solid var(--accent,#cc4a26);outline-offset:2px}
</style>
<div class="ux-checks">
<label><input type="checkbox" checked><span></span>Daily summary</label>
<label><input type="checkbox" checked><span></span>Weekly overview</label>
<label><input type="checkbox"><span></span>Product news</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
It is fully keyboard operable: tab to it and use the keys you would expect (space, enter or the arrow keys) to change its value, with a visible focus ring so sighted keyboard users can always see where they are. 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.