CodingLaboratory
Lab Commands
Enter The Lab

Component Lab / application-data / candlestick-signal-card

Stable release
Back to category

Open experiment

Candlestick signal card

Displays a tiny candlestick sequence with price range, direction, and selected interval. Interval buttons replace the candle pattern and announce the latest price direction. Encodes open-high-low-close structure rather than simple bars or lines.

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
<article class="cmp-candlestick-signal-card cmp-atlas" data-state="idle" data-variant="5">
  <header>
    <span>Financial charts</span
    ><button type="button" data-primary aria-pressed="false">Live view</button>
  </header>
  <div class="cmp-atlas__metric"><b>7.6</b><span data-output>+12.8% this cycle</span></div>
  <div class="cmp-atlas__candles">
    <i style="--i: 0; --v: 35" aria-hidden="true"></i
    ><i style="--i: 1; --v: 52" aria-hidden="true"></i
    ><i style="--i: 2; --v: 69" aria-hidden="true"></i
    ><i style="--i: 3; --v: 86" aria-hidden="true"></i
    ><i style="--i: 4; --v: 42" aria-hidden="true"></i
    ><i style="--i: 5; --v: 59" aria-hidden="true"></i
    ><i style="--i: 6; --v: 76" aria-hidden="true"></i
    ><i style="--i: 7; --v: 93" aria-hidden="true"></i
    ><i style="--i: 8; --v: 49" aria-hidden="true"></i>
  </div>
  <div class="cmp-atlas__choices">
    <button type="button" data-choice="0" aria-pressed="true">Now</button
    ><button type="button" data-choice="1" aria-pressed="false">7 days</button
    ><button type="button" data-choice="2" aria-pressed="false">30 days</button>
  </div>
  <p data-status aria-live="polite">Current data view selected</p>
</article>
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.