249

Liquid Radio

Switching radios stretches the selected dot into a drop that slides over and springs round

Form & controlSwitchUI interactionGSAPGSAP elastic

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A vertical group of radio options where the selected dot is a separate small solid circle: when switching, the dot first stretches into a vertical teardrop, slides in a straight line to the center of the new option's circle, and wobbles elastically back into a circle on arrival, flowing over like liquid; the selected outer ring changes style at the same time. (GSAP timeline: first scaleY 2.2 / scaleX 0.7 while tweening y to the new position with power3.inOut, then scaleX/scaleY back to 1 with elastic.out(1.2,0.5); the native radios are hidden but keep keyboard support)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More form & control effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →