Lightning

PreviousNext

Procedural lightning bolts with branching and glow flicker.

Docs
react-bitscomponent

Preview

Loading preview…
Lightning/Lightning.css
.lightning-container {
  width: 100%;
  height: 100%;
  position: relative;
}

Installation

npx shadcn@latest add @react-bits/Lightning-JS-CSS

Usage

import { LightningJSCSS } from "@/components/Lightning-JS-CSS"
<LightningJSCSS />