Dhileep Kumar GM

CrystalTrailBackground

Backgrounds 84

About

A full-screen, canvas-driven background where crystalline polygons sprout along the cursor’s path and fade over time. Built with React, it translates mouse speed into shimmering crystal bursts—ideal for ambient hero sections, generative art showcases, or interactive UI overlays.

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

Code

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

Usage.tsx

import React from "react";
import CrystalTrailBackground from "@/components/ui/crystal-trail-background";

export default function DemoOne() {
  const glow = "0 0 5px #c084fc, 0 0 10px #c084fc";
  return (
    <main>
      <CrystalTrailBackground>
        <div className="relative z-10 flex h-full w-full flex-col items-center justify-center select-none text-center">
          <div className="p-8 sm:p-12">
            <h1
              className="m-0 font-serif font-bold uppercase tracking-widest text-5xl sm:text-7xl text-purple-200"
              style={{ textShadow: glow }}
            >
              Crystallize
            </h1>
            <h2 className="m-0 mt-2 font-sans uppercase tracking-[.2em] text-lg sm:text-2xl text-purple-200/70">
              Ephemeral Trail
            </h2>
          </div>
          <p className="absolute bottom-10 text-purple-200/40 text-sm px-4 font-mono">
            Movement leaves a fleeting trace of light.
          </p>
        </div>
      </CrystalTrailBackground>
    </main>
  );
}

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    1.9K
  • Woven Light Hero

    Woven Light Hero

    1.6K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    958
  • Mountain Scene

    Mountain Scene

    869
  • HolographicCard

    HolographicCard

    827
  • 3D Animation

    3D Animation

    802
  • liquid  Shader

    liquid Shader

    567

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    880
  • Background snippets

    Background snippets

    16
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    242
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    588
  • Jade Sky

    Jade Sky

    99
  • Gradient Backgrounds

    Gradient Backgrounds

    28
  • Background Components

    Background Components

    47
  • LivingOrigami bg

    LivingOrigami bg

    155