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.2K
  • Lunar Gravity Card

    Lunar Gravity Card

    773
  • Robot Hero

    Robot Hero

    705
  • Volumetric Studio

    Volumetric Studio

    384
  • Pricing Glass

    Pricing Glass

    211
  •  Interactive Tech Stack Builder

    Interactive Tech Stack Builder

    195
  • AI Mascot Input

    AI Mascot Input

    41
  • 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

    932
  • Editorial Collage Hero

    Editorial Collage Hero

    431
  • Glass Fold

    Glass Fold

    212
  • HeroSectionWithGradient

    HeroSectionWithGradient

    336
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    285