Zero-dependency · WebGL2 · ferrofluid

Controls made
of liquid.

Five glossy, magnetic interface elements that pool, spike and split. One script, no assets, no dependencies.

Dark mode

Press the toggle — the whole page follows.

The kit

Five living controls.

Each is a native custom element. Attributes work like you hope they do.

01 / Volume62%

Drag the bead along the groove. The fluid leans toward your cursor.

02 / Tone38%

A magnetic arc from bottom-left to bottom-right. Arrows nudge it.

03 / ConfirmHold

Press and hold for 0.9 seconds. The field fills, then the spikes burst.

04 / Loader∞

A bead of fluid in permanent orbit, shedding droplets as it turns.

Install

Ships as one script.

Drop the module in, use the tags, style the host. If WebGL2 is missing, a matte fallback keeps every control usable.

<script type="module" src="../src/ferro-ui.js"></script>
<ferro-toggle></ferro-toggle>