Liquid gooey
A React component in Beamline's Motion & effects category.
Liquid surfaces that merge like goo when they touch — split plus-menus, gooey switches, file chips.
Use it for
- One playful control per screen where things detach and rejoin.
Not for
- Data, dense UI, or anything read repeatedly.
Anatomy
- LiquidGooey (filter surface)
- LiquidGooey.Item
Variants
- effect: morph, move, bend, melt
States
- merged
- split
Keyboard
- Items keep their own controls; hidden items get tabIndex -1 and aria-hidden. A menu built on it closes on Escape or a choice and sends focus back to its trigger (the example does).
Motion
Plain mirrored x/y/scale transitions respect scope speed and settle immediately under managed/OS reduction or offscreen. Explicit Item transition and delay remain tuning inputs. Advanced physics modes retain upstream timing and lifecycle limitations.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
style / ref | CSSProperties / native Ref | — | style: Inline styles on the documented visual root; no overrides by default. ref: Receives the documented root element; no ref by default. |
ref | Ref<HTMLDivElement> | — | Receives the documented root element; no ref by default. |
Dependencies
liquid-gooey
Import
import { LiquidGooey } from "@beamline/liquid-gooey";
Get it
Liquid gooey is part of Beamline UI. Install the parts you need in your React app as compiled packages or editable source. Get Beamline · Connect your agent
More in Motion & effects
- Light band: A band of split light in the dark behind a section, blue at one end and amber at the other with a bright core: Prism's light at a chosen place, a hero…
- Halftone Dots: A picture rebuilt as a field of dots whose size follows brightness; a new picture morphs the dots, a click ripples through, the pointer pushes dots aside.
- Glow: Ambient light around one element that says something is happening: an aurora under a working composer, or a ring of light round a live card.
- Sound: Opt-in interface cues with scoped volume, graceful mute and bounded repetition; soft tactile gestures and restrained result tones.