Workspace
No command matches
19.9%
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardLedger(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-ledgerA balance card set in mono type on hairline bands. Run the pointer along the thin coral bars and the large figure rolls digit by digit to that point; switch the range and the bars grow again from the baseline.
Intermediate
Keyboard and screen readers
The range tabs are native radios whose labels name the span ("Range: six months"). The chart is a focusable role="slider" with aria-valuenow and an aria-valuetext giving the point's date and balance, so arrow keys, Home and End read it out. The rolling digits are aria-hidden and the figure carries the full amount as its label.
Reduced motion
The digits and bars change without rolling or growing.
Use it in anything you build, commercial and client work included. Licence
Workspace
No command matches