Skip to content

Glass Wave Divider

A wave of liquid glass between two sections that refracts both and slides with the cursor.

Plan
Pro · commercial license
Dependencies
React only
Props
10 (10 adjustable)

Included in Pro and Lifetime. See pricing

Before
After

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
topReactNode"Before"Content of the top section.
bottomReactNode"After"Content of the bottom section.
topBackgroundstring"linear-gradient(160deg,#0b0f2a,#25155e)"CSS background of the top section.
bottomBackgroundstring"linear-gradient(160deg,#fff3dd,#ffc9a1)"CSS background of the bottom section.
amplitudenumber24Height of the wave, in px.
wavelengthnumber270Length of each wave, in px.
thicknessnumber86Thickness of the glass ribbon, in px.
zoomnumber2.3How much the glass magnifies what is behind it.
speednumber34Speed at which the wave flows, in px/s.
dispersionnumber0.14Color separation at the glass edges.

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Glass Wave Divider

npx shadcn@latest add @furin-pro/glass-wave-divider

Dependencies

React
18 or later
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • A drop of liquid glass follows the cursor and merges with the edges of buttons, stretching like a liquid.

    Glass

  • A fluted glass panel that splits the content behind it into refracted strips that move with the cursor.

    Glass

  • A slider shaped like a spirit level: the bubble follows the value with physics and the body tilts like a real level.

    Glass