Skip to content
FreeCards

Electric Border

Arcs of electricity that snake around the border, with local discharges, sparks and a flickering glow.

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

Free forever

MIT license, for personal and commercial projects. See installation

Electric Border

A live arc that crackles around the edge.

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

Props

PropTypeDefaultDescription
childrenReactNode"Electric Border"Card content. Plain text is shown as the title.
captionstring"A live arc that crackles around the edge."Supporting text under the title (only when children is plain text).
colorstring"#5cc8ff"Color of the electricity.
chaosnumber1How far the arc strays from the border (1 = normal).
speednumber1Speed of the crackle (1 = normal).
sparksnumber26How many sparks jump per second.
glownumber1Glow intensity, from 0 to 1.5.
borderWidthnumber1.8Thickness of the arc, in px.
radiusnumber22Corner radius, in px.
widthnumber360Maximum width of the card, in px.
minHeightnumber0Minimum height of the card, in px.
backgroundstring"#0c0e13"Card background.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { ElectricBorder } 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 cardboard folder that opens on hover and lets its documents peek out with a soft bounce.

    Cards

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

    Cards

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

    Cards