Skip to content

Glass Blobs

Blobs of color floating behind a sheet of frosted glass.

Plan
Free · MIT
Dependencies
React only
Props
9 (8 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Frosted glass

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

Props

PropTypeDefaultDescription
childrenReactNode""Content that sits on the frosted panel.
colorsstring | string[]"#ff4f9a,#5b7bff,#2fe0b8,#ffb04a,#9b5cff,#ff6a4d"Colors of the blobs, separated by commas or as a list.
countnumber6How many blobs float behind.
speednumber1Speed of the motion: 1 is normal, 0 stops them.
blurnumber26Blur of the frosted glass, in px.
grainnumber0.5How much grain the glass has, from 0 to 1.
panelbooleantrueShows the centered glass panel (otherwise the blur covers everything).
radiusnumber32Corner radius of the panel, in px.
backgroundstring"#0b0d24"Background color behind the blobs.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { GlassBlobs } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • A mesh gradient that floats and blends, with fine film grain; the cursor pulls on one of the blobs.

    Backgrounds

  • A print-style halftone with two overprinted inks: the dots grow and shrink with a flowing field and with the cursor.

    Backgrounds

  • A holographic background: an iridescent film, a fine diffraction grating and a sheen that shift with the cursor's angle.

    Backgrounds