StealThis .dev

Dating — Filters Preferences

A playful mobile-app filters and preferences sheet for a dating product: a dual-handle age range slider, a distance radius slider, gender and looking-for pill toggles, an interests multiselect, and a verified-only switch. A live match counter recalculates on every change, so users instantly see how many people fit their criteria before hitting apply or resetting everything back to defaults.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

A phone-framed filters sheet for a dating app, built to feel like a native preferences screen. The panel stacks a set of clearly separated controls: a dual-handle age range slider that keeps its two thumbs from crossing, a distance radius slider with a live kilometre readout, gender and looking-for pill groups, an interests multiselect chip cloud, and a verified-only toggle switch. Everything is wrapped in a rounded ~430px container with gradient accents and soft shadows.

The heart of the screen is a live match counter pinned to the sticky footer. Every interaction — dragging a handle, tapping a chip, flipping the verified switch — recomputes an estimated “X people match” figure against a small fictional dataset of profiles, animating the number as it changes. This gives immediate feedback so users understand how each choice widens or narrows their pool.

The footer also carries Apply and Reset actions. Apply confirms the current selection with a toast, while Reset restores every control to its default state and recalculates the count. All controls are keyboard operable with visible focus rings, the sliders expose ARIA range attributes, and the layout collapses gracefully on very small screens.