deleted

Lightning

Shaders 52

About

Incredible lightning background fully customizable

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Lightning to your project and fits it to your theme.

Code

How Lightning is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import React from "react";
import { Component } from "@/components/ui/lightning"; 

const DemoOne = () => {
  return (
    <div className="flex w-full min-h-screen justify-center items-center bg-gray-900 p-4">
      <div className="w-full max-w-4xl h-[600px] rounded-lg overflow-hidden shadow-2xl bg-black">
        <Component
          hue={220}
          xOffset={0.0}
          speed={0.7}
          intensity={1.2}
          size={1.5}
        />
      </div>
    </div>
  );
};

export { DemoOne };

More by deleted

View all
  • Splash Cursor

    Splash Cursor

    1.3K
  • Star Border

    Star Border

    728
  • Tilted Scroll

    Tilted Scroll

    433
  • Waves Background

    Waves Background

    362
  • Squares Background

    Squares Background

    326
  • Prism

    Prism

    218
  • Grid Motion

    Grid Motion

    183
  • Circular Gallery

    Circular Gallery

    173

More in Shaders

View all
  • Glass Fold

    Glass Fold

    193
  • Paper design shader Background

    Paper design shader Background

    672
  • Wave

    Wave

    683
  • LightSpeed

    LightSpeed

    206
  • Neural Noise

    Neural Noise

    711
  • DitheredShaderBackground

    DitheredShaderBackground

    43
  • Gigabit

    Gigabit

    55
  • Shader Lines

    Shader Lines

    2.3K