CodingLaboratory
Lab Commands
Enter The Lab

Component Lab / application-data / morphing-data-table

Stable release
Back to category

Open experiment

Morphing data table

Adapts a compact table between density modes and mobile card rows without losing headers. Density and column controls update the table; row disclosure exposes secondary fields. Changes information density and responsive structure rather than plotting data.

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-morphing-data-table cmp-atlas" data-state="idle" data-variant="1">
  <header>
    <span>Tables</span><button type="button" data-primary aria-pressed="false">Live view</button>
  </header>
  <div class="cmp-atlas__metric"><b>7.6k</b><span data-output>+12.8% this cycle</span></div>
  <div class="cmp-atlas__table" role="table" aria-label="Release health">
    <div role="row">
      <b role="columnheader">Service</b><b role="columnheader">Health</b
      ><b role="columnheader">Latency</b>
    </div>
    <div role="row">
      <span role="cell">Edge</span><i role="cell">Stable</i><em role="cell">42 ms</em>
    </div>
    <div role="row">
      <span role="cell">Origin</span><i role="cell">Watch</i><em role="cell">86 ms</em>
    </div>
  </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.