Rollout

New checkout

Rolling out
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-rollout

About this component

A feature flag card with a hundred dots for a hundred users. Drag the slider and the dots switch on in a scattered order up to the percentage, each new one popping while the figure rolls; at 100 the whole grid does one quiet wave.

Triggers

  • State change
  • Card
  • Spring
  • Delay stagger
  • Fill

Techniques

  • CSS variables
  • CSS transition
  • Keyframes
  • Stagger
  • Spring
  • State machine

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

The control is a native range input named "Share of users" with an aria-valuetext in percent, so arrow keys, Page Up/Down and Home/End work and screen readers hear the value; the dot grid and rolling figure are aria-hidden and the chip states the mode in words. The thumb has a :focus-visible ring.

Reduced motion

Dots and digits change at once and the ring and wave are off.

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

More cards

See all
3 lights on
RoomGet code
Authenticator

TokenGet code
Not tracking
  • Billing redesign
  • Onboarding copy
  • Sync notes
TrackerGet code

Pro

Billing

  • Unlimited projects
  • Usage analytics
  • Priority support
BeamGet code