Alex Reino

magic dust shader

Heroes 176

About

100% editable via react props

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

Code

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

Usage.tsx

"use client";

import { MagicDust } from "@/components/ui/magic-dust-shader";

const settings = {
  animationSpeed: 1.0,
  particleCount: 10000,
  scatterRadius: 12,
  particleSize: 0.02,
  holdDuration: 3.0,
  particleColor: "#ffffff",
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen bg-black">
      <MagicDust
        animationSpeed={s.animationSpeed}
        particleCount={s.particleCount}
        scatterRadius={s.scatterRadius}
        particleSize={s.particleSize}
        holdDuration={s.holdDuration}
        particleColor={s.particleColor}
      />
    </div>
  );
}

Dependencies

More by Alex Reino

View all
  • Interactive Folder Gallery

    Interactive Folder Gallery

    1.1K
  • Lunar Gravity Card

    Lunar Gravity Card

    765
  • Robot Hero

    Robot Hero

    701
  • Volumetric Studio

    Volumetric Studio

    376
  • Pricing Glass

    Pricing Glass

    210
  •  Interactive Tech Stack Builder

    Interactive Tech Stack Builder

    194
  • AI Mascot Input

    AI Mascot Input

    38
  • Premium Leather

    Premium Leather

    14

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    919
  • HeroSectionWithGradient

    HeroSectionWithGradient

    334
  • Editorial Collage Hero

    Editorial Collage Hero

    422
  • Hero 03

    Hero 03

    313
  • Glass Fold

    Glass Fold

    192