Frost

Requires framer-motion
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-frost

About this component

A frosted glass pill slides between options using Framer Motion layoutId. The translucent backdrop-blur pill springs smoothly from one option to the next, giving a glassmorphism selection indicator.

Triggers

  • Click
  • State change
  • Spring

Techniques

  • Transform only

Difficulty

Intermediate

Moves on

Its code uses this curve. Open one to see it plotted and tune it.

Accessibility

Keyboard and screen readers

Hidden native <input type="radio"> per option.

Reduced motion

Framer Motion respects prefers-reduced-motion automatically and cuts the spring to an instant transition.

Use it in anything you build, commercial and client work included. Licence

More radios

See all
GravityGet code
HologramGet code
LEDGet code