AAYUSH duhan

HalftoneTrail

Component 208

About

HilftoneTrail component

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

Code

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

Usage.tsx

"use client";

import { HalftoneTrail } from "@/components/ui/halftone-trail";

export default function DemoOne() {
  return (
    <div className="relative w-full min-h-[600px] rounded-3xl overflow-hidden bg-background border border-border">
      <HalftoneTrail
        cellSize={10}
        color="var(--foreground)"
        decay={0.965}
        brushSize={0.045}
        hoverBrushSize={0.012}
        opacity={1.0}
        hoverOpacity={0.15}
        speedScale={38.0}
      />
    </div>
  );
}

More by AAYUSH duhan

View all
  • Card Fan Carousel

    Card Fan Carousel

    3.9K
  • Ink Reveal

    Ink Reveal

    1.3K
  • Liquid Morph Floating Menu

    Liquid Morph Floating Menu

    874
  • CascadeText

    CascadeText

    642
  • Liquid Gradient

    Liquid Gradient

    87
  • Reveal Card

    Reveal Card

    6
  • NotchCard

    NotchCard

    5