Faceted Filter Sidebar
Checkbox facets with popping checks and a results count that rolls
Create a faceted filter sidebar. A card with 2-3 facet groups (small uppercase monospace group titles), each holding checkbox rows: a custom checkbox square, the option label, and its result count in monospace on the right. Checking a box: the square's background and border animate to the accent color (200ms) while the check icon pops in with a stiff spring (from scale 0, stiffness 600, damping 24); unchecking reverses. The option's count turns accent while checked. At the bottom, past a hairline divider, a live results total: when it changes, the old number rolls up and out while the new one springs in from below (stiffness 480, damping 30) inside an overflow-hidden slot, in large bold accent type next to a small "results" caption. Accessibility: rows are buttons with role="checkbox" and aria-checked; the total line uses aria-live="polite". If prefers-reduced-motion is set, toggle checks and swap the total instantly. Build the component, not this demo of it. - Ambient motion that IS the component may loop: a drifting background, a marquee, a spinner while something is genuinely loading. - Do not add any timer, interval, loop or script that performs a person's action by itself. No auto-hover, no auto-click, no cycling through states, no pretend submitting, no replaying the interaction on a schedule. - Every state that answers a person waits for a real event from that person. - Placeholder copy and sample content are welcome. Simulated behaviour is not.