Dhileep Kumar GM

CrystalTrailBackground

Backgrounds 90

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

    2K
  • Woven Light Hero

    Woven Light Hero

    1.6K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    993
  • Mountain Scene

    Mountain Scene

    888
  • HolographicCard

    HolographicCard

    838
  • 3D Animation

    3D Animation

    824
  • Premium Auth

    Premium Auth

    594

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    944
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    259
  • Honey Ember Background

    Honey Ember Background

    100
  • Gradient Backgrounds

    Gradient Backgrounds

    33
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    623
  • Gradient Blur Bg

    Gradient Blur Bg

    23
  • Background snippets

    Background snippets

    117
  • Dark Gradient Background

    Dark Gradient Background

    164