Rollout
New checkout
Rolling outMarkup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardRollout(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-rolloutAbout 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- Billing redesign
- Onboarding copy
- Sync notes
Pro
- Unlimited projects
- Usage analytics
- Priority support