About
Here is Electric Border component
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Electric Border to your project and fits it to your theme.
Code
How Electric Border is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
// CREDIT
// Component inspired by @BalintFerenczy on X
// https://codepen.io/BalintFerenczy/pen/KwdoyEN
import ElectricBorder from '@/components/ui/electric-border'
export default function ElectricBorderDemo() {
return (
<ElectricBorder
color="#7df9ff"
speed={1}
chaos={0.5}
thickness={2}
style={{ borderRadius: 16 }}
>
<div>
<p style={{ margin: '6px 0 0', opacity: 0.8 }}>
A glowing, animated border wrapper.
</p>
</div>
</ElectricBorder>
)
}








