CodingLaboratory
Lab Commands
Enter The Lab

Component Lab / navigation-layout / magnetic-orbit-button

Stable release
Back to category

Open experiment

Magnetic orbit button

A scoped magnetic call-to-action with a generous motion boundary. Pointer proximity subtly pulls the native button in two axes while three decorative nodes orbit around it; keyboard focus keeps the control centered and unmistakable.

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-magnetic-orbit">
  <span class="cmp-magnetic-orbit__track" aria-hidden="true"> <i></i><i></i><i></i> </span>
  <button class="cmp-magnetic-orbit__button" type="button">
    Enter orbit <b aria-hidden="true">✦</b>
  </button>
</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

  • The native button remains centered and fully usable without pointer input.
  • Keyboard focus creates a stationary high-contrast halo.
  • Pointer attraction and orbital animation are disabled for reduced motion.

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