CodingLaboratory
Lab Commands
Enter The Lab

Component Lab / pricing-conversion / tier-comparison-slider

Stable release
Back to category

Open experiment

Tier comparison slider

Moves a shared comparison lens across plan tiers to emphasize changing limits and features. Range and tier buttons select a plan and update a compact feature comparison. Uses a continuous comparison lens instead of separate static pricing cards.

Lab tested Responsive Dark mode Interactive
Version
1.0.0
Updated
2026-08-02
Dependencies
Zero
Live canvasInstant token updates
Source filesEditable and export-ready
<section class="cmp-tier-comparison-slider cmp-atlas" data-state="idle" data-variant="1">
  <header><span>Plan comparison</span><b>Plan spectrum</b></header>
  <div class="cmp-atlas__price-orbit">
    <i aria-hidden="true"></i
    ><strong><small>Projected monthly</small><b data-output>$320</b></strong>
  </div>
  <label class="cmp-atlas__range"
    ><span>Plan intensity</span
    ><input type="range" data-range min="10" max="100" value="50" /><output>50</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.