CodingLaboratory
Lab Commands
Enter The Lab

Component Lab / navigation-layout / liquid-metal-button

Stable release
Back to category

Open experiment

Liquid metal button

A compact native button with external mercury lobes, deep specular bands, and a dark embossed label. Hover, focus, and press merge its blobs into the surface to create a tactile liquid-metal response without scripts.

Lab tested Responsive Dark mode
Version
1.0.0
Updated
2026-08-02
Dependencies
Zero
Live canvasInstant token updates
Source filesEditable and export-ready
<button class="cmp-liquid-metal" type="button">
  <span class="cmp-liquid-metal__blob cmp-liquid-metal__blob--left" aria-hidden="true"></span>
  <span class="cmp-liquid-metal__blob cmp-liquid-metal__blob--right" aria-hidden="true"></span>
  <span class="cmp-liquid-metal__label">Shape future <b aria-hidden="true">●</b></span>
</button>
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

  • Uses a native button with dark high-contrast labeling.
  • Mercury lobes are decorative and hidden from assistive technology.
  • Reduced motion presents a stable chrome capsule.

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