Design inspiration curated from X

dynamic toggle with CSS :has() .control:not(:has(:first-of-type:che... - jhey ▲

Published by jhey ▲ on April 25, 2025.

dynamic toggle with CSS :has() .control:not(:has(:first-of-type:checked)) .indicator { translate: 100% 0; } leverage [type=radio]:checked with :has() to set the visuals

Design notes

dynamic toggle with CSS :has() .control:not(:has(:first-of-type:checked)) .indicator { translate: 100% 0; } leverage [type=radio]:checked with :has() to set the visuals

This entry is part of MotionVault's curated archive of interface, product, brand, website, and motion design references from public creators on X.

Image rights and licensing remain with jhey ▲; use the original X post for source and licensing inquiries.

Deep Clone · React 19 + Framer Motion

Interactive Sandbox & Production Code

Reverse-engineered 1:1 component with spring physics, accessible keyboard controls, and modular Tailwind CSS.

https://northlight.design/sandbox/1915845187294925272
Launch Sandbox ↗

Reference details

Creator
jhey ▲
X handle
@jh3yy
Published
April 25, 2025
Media
1 visual reference
Views
80,088
Likes
1,486
Bookmarks
945

Related tags