CodingLaboratory
Lab Commands
Enter The Lab

Component Lab / navigation-layout / crystal-shatter-button

Stable release
Back to category

Open experiment

Crystal shatter button

Splits a crystalline face into contained facets when the action completes. Activation fans six clipped facets outward briefly before resolving to a confirmed state. The feedback is a segmented fracture composition rather than a ripple or fill animation.

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-crystal-shatter-button cmp-atlas" data-state="idle" data-variant="2">
  <div class="cmp-atlas__eyebrow"><span>Fractured crystal</span><i aria-hidden="true"></i></div>
  <button
    class="cmp-atlas__action"
    type="button"
    data-primary
    data-active-label="Effect complete"
    aria-pressed="false"
  >
    <span class="cmp-atlas__fx" aria-hidden="true"><i></i><i></i><i></i><b>C</b></span>
    <span><strong>Crystal shatter</strong><small>Crystal / shatter</small></span>
    <em aria-hidden="true">-&gt;</em>
  </button>
  <div class="cmp-atlas__meter" aria-hidden="true"><i></i></div>
  <p data-status aria-live="polite">Ready for keyboard or pointer activation</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.