Skip to content

Holo Foil

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

Plan
Free · MIT
Dependencies
React only
Props
6 (6 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

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

Props

PropTypeDefaultDescription
intensitynumber1Strength of the iridescence (0 to 1.5).
densitynumber1.4Density of the fine diffraction pattern (0.5 to 3).
tiltnumber1How much the foil tilts as it follows the cursor.
huenumber0Overall hue rotation, in degrees.
baseColorstring"#0f1015"Color of the base metal under the film.
autoplaybooleantrueIf there is no cursor over it, the foil sways on its own.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

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

  • Drops of ink that bloom in dark water with swirls and tendrils, one after another in a cycle. Tap to drop one; move the cursor to stir the water.

    Backgrounds

  • A lava lamp with glass and warm light: the wax rises, stretches, merges with other blobs and splits apart. Your cursor warms it.

    Backgrounds

  • A chrome surface that ripples and reflects a luminous environment.

    Backgrounds