Skip to content

Holo Card

A card that tilts in 3D to follow the cursor, with a holographic foil and a specular glare that react to movement.

Plan
Free · MIT
Dependencies
React only
Props
15 (12 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Furin
HologramOne-of-a-kind foil
Furin001/100

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

Props

PropTypeDefaultDescription
childrenReactNode"sample card"Card content; if omitted, a sample collectible card is drawn.
sampleTitlestring"Hologram"Title of the sample card (only visible if you don't pass children).
sampleSubtitlestring"One-of-a-kind foil"Subtitle of the sample card (only visible if you don't pass children).
widthnumber300Card width in px.
heightnumber420Card height in px.
maxTiltnumber16Maximum tilt in degrees when the cursor reaches an edge.
scalenumber1.04How much the card grows on hover (1 = no growth).
foilnumber0.9Intensity of the holographic foil, from 0 to 1.
glarenumber0.7Intensity of the specular highlight that follows the cursor, from 0 to 1.
huenumber0Color rotation of the foil, in degrees (0 to 360).
perspectivenumber900Camera distance in px: lower means a more exaggerated perspective.
radiusnumber22Corner rounding in px.
idleAnimationbooleantrueIf true, the card sways on its own when nobody touches it (useful on touch screens).
classNamestring""Extra CSS class for the container.
styleCSSProperties"{}"Inline styles for the container.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

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

  • Magnet

    Free

    Pulls any element toward the cursor.

    Interaction

  • A thread with physics that follows the cursor.

    Interaction