Electro Border

A dynamic SVG turbulence border with optional glow, aura, and overlay — wrap any child for an energized frame.

Default

Cyan electric frame with glow, aura, and overlay around a content card.

Loading…

Installation

source.tsx

Usage

source.tsx

Props

PropTypeDefaultDescription
borderColorstring"#00fffc"Stroke and effect color.
cardBackgroundstring—Optional fill for the frame body; omit for theme-adaptive card surface.
borderWidthnumber2Border thickness in pixels.
distortionnumber1Displacement scale multiplier for the filter.
animationSpeednumber1Higher is faster turbulence motion.
radiusstring · number"12px"Corner radius for the frame layers.
glowbooleantrueSoft blur rings around the stroke.
aurabooleantrueRadial glow behind the card.
overlaybooleantrueGlossy gradient overlay on the surface.
effectsbooleantrueMaster switch for glow, aura, and overlay (stroke stays).
glowBlurnumber32Blur radius for glow and aura layers.
numOctavesnumber2Turbulence noise octaves (lower is cheaper).
classNamestring—Classes on the root wrapper.