Open experiment
Animated savings counter
Compares current spend with projected spend and makes the calculation inspectable. Input controls update the savings figure, percentage, and equation; animation is optional. Centers a transparent before-and-after savings calculation rather than a purchase price.
Lab tested Responsive Dark mode Interactive
- Version
- 1.0.0
- Updated
- 2026-08-02
- Dependencies
- Zero
<section class="cmp-animated-savings-counter cmp-atlas" data-state="idle" data-variant="2">
<header><span>Savings tools</span><b>Savings pulse</b></header>
<div class="cmp-atlas__price-orbit">
<i aria-hidden="true"></i
><strong><small>Projected monthly</small><b data-output>$146</b></strong>
</div>
<label class="cmp-atlas__range"
><span>Monthly usage</span
><input type="range" data-range min="10" max="100" value="60" /><output>60</output></label
>
<div class="cmp-atlas__choices">
<button type="button" data-choice="0" aria-pressed="true">Essential</button
><button type="button" data-choice="1" aria-pressed="false">Scale</button
><button type="button" data-choice="2" aria-pressed="false">Infinite</button>
</div>
<button
type="button"
class="cmp-atlas__primary"
data-primary
data-active-label="Estimate saved"
aria-pressed="false"
>
Save estimate
</button>
<p data-status aria-live="polite">Transparent estimate ready</p>
</section>
No runtime reactions detected Open in Editor
Validated in the lab
Experiment report
- Schema and source files passed
- Responsive test passed
- Keyboard test passed
- No console errors
Component ingredients
- Dependencies
- None
- Browser support
- Current Chrome, Current Edge, Current Firefox, Current Safari
- Version
- 1.0.0
- Last tested
- 2026-08-02
Accessibility notes
- Every interactive target is a labelled native control with a visible focus treatment.
- State changes are communicated through a polite text status and never by color alone.
- The contained visual effects stop when the user requests reduced motion.
License: MIT License for open-source use, modification, and distribution.