Skip to content

Ribbed Glass

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

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

Included in Pro and Lifetime. See pricing

Fluted

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

Props

PropTypeDefaultDescription
childrenReactNode""Content behind the panel (seen split into strips).
flutenumber26Approximate width of each flute, in px.
powernumber-1.2Lens power: negative flips each strip, positive compresses it.
dispersionnumber0.12Color separation at the edges of each strip.
tintstring"rgba(255,255,255,0.08)"Tint color of the glass.
insetnumber28Margin between the edge and the panel, in px.
radiusnumber22Corner radius of the panel, in px.
slidenumber22How far the panel slides with the cursor, in px.
scenebooleanfalseDraws a colorful scene behind the panel.
autobooleanfalseThe panel sways on its own when there is no cursor.

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 Ribbed Glass

npx shadcn@latest add @furin-pro/ribbed-glass

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 slider shaped like a spirit level: the bubble follows the value with physics and the body tilts like a real level.

    Glass

  • A stained-glass window whose pieces light up with the cursor's light and cast their color onto the floor.

    Glass

  • Plastic bubbles that dent as you pass over them and pop on click with sound; popped ones stay wrinkled.

    Glass