Parallax Card
FreeReal 3D layers (sky, stars, planet, ring, dunes, text and shine) that separate at different depths as the card tilts.
Cards
Liquid glass with refraction, a specular edge and a reflection that follows the cursor.
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | "" | Card title. |
caption | string | "" | Small text under the title. |
radius | number | 30 | Corner radius, in px. |
blur | number | 1.2 | Blur of the background behind the glass, in px. |
refraction | number | 1 | Strength of the refraction at the edge (0 = light isn't bent). |
dispersion | number | 0.12 | Color separation (chromatic aberration) at the edge, from 0 to 0.5. |
tint | string | "rgba(255,255,255,0.10)" | Color of the glass tint. |
glare | number | 0.55 | Intensity of the reflection that follows the cursor, from 0 to 1. |
tilt | number | 6 | Maximum tilt of the card under the cursor, in degrees. |
scene | boolean | false | Draws an animated color scene behind it (to see it refract). |
1Install the package
npm i furin-ui2Import 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.
Each file ships its own CSS: there's nothing else to install.
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