Wobble

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/slider-wobble

About this component

A vertical jelly slider: raspberry jelly set inside a clear lime capsule up to an orange gummy handle. The gummy squashes while you hold it, and when you let go the whole capsule wobbles like jelly turned out of a mould.

Triggers

  • State change
  • Spring
  • Fill
  • Keyframe

Techniques

  • CSS variables
  • Keyframes
  • Spring
  • Transform only

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native range input named "Fill" by aria-label with aria-orientation vertical, so arrow keys, Home and End work; the capsule is aria-hidden. :focus-visible on the input rings the gummy.

Reduced motion

The capsule does not wobble and the gummy does not squash.

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

More sliders

See all
BitmapGet code
BorealisGet code
BrutGet code
BudgetGet code