CodingLaboratory
Lab Commands
Enter The Lab

Component Lab / navigation-layout / plasma-charge-button

Stable release
Back to category

Open experiment

Plasma charge button

A deliberate action for moments that should resist accidental clicks. Holding with pointer, Space, or Enter charges a luminous plasma ring; releasing early cancels safely, while completion updates the visible label and polite live status.

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
<div class="cmp-plasma-charge">
  <button class="cmp-plasma-charge__button" type="button" aria-describedby="cmp-plasma-charge-help">
    <span class="cmp-plasma-charge__reactor" aria-hidden="true"><i></i></span>
    <span class="cmp-plasma-charge__copy">
      <strong>Charge reactor</strong>
      <small id="cmp-plasma-charge-help">Press and hold to activate</small>
    </span>
  </button>
  <span class="cmp-plasma-charge__status" aria-live="polite">Reactor idle</span>
</div>
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

  • Pointer and keyboard holds use identical timing and cancellation behavior.
  • Charging and completion are announced in a polite live region.
  • The control includes visible hold instructions and a strong focus indicator.

License: MIT License for open-source use, modification, and distribution.