WRAPCODERS

Quantal Particle Hero

Heroes

About

Interactive 3D particle morphing hero section with mathematical torus, screen, diamond, and ribbon formations, dark/light theme support, and clean typography.

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

Code

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

Usage.tsx

import { useEffect } from "react";
import { QuantalParticleHero, type ParticleShape } from "@/components/ui/quantal-hero";

const settings = {
  initialShape: "torus" as ParticleShape,
  autoCycleShapes: true,
  particleCount: 2800,
  interactive: true,
  headline: "Supercomputing for the on-chain economy.",
  primaryCtaLabel: "Get started",
};

export default function QuantalHeroDemo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };

  useEffect(() => {
    if (typeof window === "undefined") return;
    const themeParam = new URLSearchParams(window.location.search).get("theme");
    if (themeParam === "light") {
      document.documentElement.classList.remove("dark");
    } else if (themeParam === "dark") {
      document.documentElement.classList.add("dark");
    }
  }, []);

  return (
    <QuantalParticleHero
      brand={{ name: "quantal", href: "#top" }}
      navItems={[
        { label: "Platform", href: "#platform" },
        { label: "How it works", href: "#how-it-works" },
        { label: "Use cases", href: "#use-cases" },
        { label: "Docs", href: "#docs" },
      ]}
      navCta={{ label: "Sign in", href: "#signin" }}
      badge={{ text: "Quantal v2 Mainnet is live", href: "#platform", external: false }}
      title={s.headline}
      subtitle="Quantal connects high-performance computing to decentralized finance. Run heavy workloads and settle every result on-chain."
      primaryCta={{ label: s.primaryCtaLabel, href: "#get-started" }}
      secondaryCta={{ label: "How it works", href: "#how-it-works" }}
      particleCount={s.particleCount}
      initialShape={s.initialShape}
      autoCycleShapes={s.autoCycleShapes}
      interactive={s.interactive}
      showWindowChrome={false}
    />
  );
}

Dependencies

More by WRAPCODERS

View all
  • Product Hover Showcase

    Product Hover Showcase

    89
  • Real Estate 3D Hero

    Real Estate 3D Hero

    50
  • Metric Trend Chart

    Metric Trend Chart

    35
  • LoopAI CRM

    LoopAI CRM

    32
  • Flash Technologies Crypto Wallet Hero

    Flash Technologies Crypto Wallet Hero

    23
  • AI Motion Visual Orb

    AI Motion Visual Orb

    21
  • TraceRocket Reports Dashboard

    TraceRocket Reports Dashboard

    20
  • Client Management CRM Hub

    Client Management CRM Hub

    19

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero

    Hero

    1.4K
  • Hero Section 01

    Hero Section 01

    56
  • Split Hero With Image Cards

    Split Hero With Image Cards

    467
  • Facts Hero

    Facts Hero

    6