Activity
659 commits in 16 weeks
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardSprint(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.
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-sprintA focus timer in a graphite capsule: rolling numerals between a play disc and a reset disc, with the time carried as a lime light that runs round the capsule's own rim. Presets sit in a tray underneath and the countdown is real.
Advanced
Keyboard and screen readers
Start and pause is one native button with aria-pressed and a label that changes ("Start timer", "Pause timer"); reset is a native button named "Reset timer". The readout is role="timer" with an aria-label in words ("0 minutes 46 seconds left") and the rolling digit columns are aria-hidden. Presets are native radios in a fieldset with a visually hidden legend ("Length"), each named in full ("5 minutes"); arrow keys move between them and every control has a :focus-visible ring.
Reduced motion
The digits and thumb change without transitions and the colon blink and finish flash are off; the rim light still shows progress.
Use it in anything you build, commercial and client work included. Licence
Activity
659 commits in 16 weeks