codepenz
← Back to catalog

Style Selector Radio Pills

A four-option radio group styled as pills: the selected pill expands to reveal its label while the others collapse to icon-only, with every resize and reflow smoothed by a spring layout animation.

Componentsmotionlayout-animationradio-grouplucide-react
Added July 9, 2026