Skip to content
FreeCards

Glass Card

Liquid glass with refraction, a specular edge and a reflection that follows the cursor.

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

Free forever

MIT license, for personal and commercial projects. See installation

Liquid glass
Refraction, a specular edge and a reflection that follows you.

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

Props

PropTypeDefaultDescription
childrenReactNode""Card title.
captionstring""Small text under the title.
radiusnumber30Corner radius, in px.
blurnumber1.2Blur of the background behind the glass, in px.
refractionnumber1Strength of the refraction at the edge (0 = light isn't bent).
dispersionnumber0.12Color separation (chromatic aberration) at the edge, from 0 to 0.5.
tintstring"rgba(255,255,255,0.10)"Color of the glass tint.
glarenumber0.55Intensity of the reflection that follows the cursor, from 0 to 1.
tiltnumber6Maximum tilt of the card under the cursor, in degrees.
scenebooleanfalseDraws an animated color scene behind it (to see it refract).

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { GlassCard } 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

  • Real 3D layers (sky, stars, planet, ring, dunes, text and shine) that separate at different depths as the card tilts.

    Cards

  • A profile card with a holographic foil: it tilts in 3D with the cursor and the iridescence shifts with the angle.

    Cards

  • A satin sheen sweeps across the card as the cursor passes over it.

    Cards