{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "swarm-404-demo",
  "type": "registry:block",
  "title": "Swarm: 404 Page",
  "description": "Particle Text Animation example, 404 Page: A not-found page whose number is two-thirds solid; the hollow rings are the part that never arrived, and late dots keep drifting in. A take on the particle effect (particles) and text animation (text effect). Fits hero, about, preloader and 404 page sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "hero",
    "about",
    "preloader",
    "404-page",
    "particle-effect",
    "text-animation",
    "text",
    "canvas"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/swarm#swarm-404-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/swarm.json"
  ],
  "files": [
    {
      "path": "components/swarm-404-demo.tsx",
      "type": "registry:component",
      "content": "import { Swarm } from \"@/components/ui/swarm\";\n\nexport function Swarm404Demo() {\n  return (\n    <div className=\"w-full max-w-3xl overflow-hidden rounded-2xl border border-zinc-950/10 bg-white text-zinc-950 dark:border-white/10 dark:bg-zinc-950 dark:text-white\">\n      {/* Most of the number made it; the hollow rings are the parts that didn't, and late dots keep drifting in. */}\n      <Swarm\n        text=\"404\"\n        fill={0.68}\n        dotSize={7}\n        gap={2}\n        label=\"404\"\n        dotClassName=\"text-[#7c3aed] dark:text-[#a78bfa]\"\n        gradientClassName=\"text-[#ff2d87] dark:text-[#ff5ca8]\"\n        className=\"aspect-[4/3] bg-zinc-100/70 sm:aspect-[2/1] dark:bg-white/[0.03]\"\n      />\n      <div className=\"flex flex-col gap-5 border-t border-zinc-950/10 px-6 py-6 sm:flex-row sm:items-end sm:justify-between dark:border-white/10\">\n        <div>\n          <h2 className=\"text-xl font-semibold tracking-tight text-balance\">Part of this page never arrived.</h2>\n          <p className=\"mt-2 max-w-sm text-sm leading-relaxed text-zinc-600 dark:text-zinc-400\">\n            The link may be old, or the page moved when we reorganised the docs. Everything else is where you left it.\n          </p>\n        </div>\n        <div className=\"flex shrink-0 gap-2\">\n          <a\n            href=\"#\"\n            className=\"rounded-full bg-zinc-950 px-4 py-2 text-sm font-medium text-white transition-colors hover:bg-zinc-800 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#7c3aed] dark:bg-white dark:text-zinc-950 dark:hover:bg-zinc-200 dark:focus-visible:outline-[#a78bfa]\"\n          >\n            Back to docs\n          </a>\n          <a\n            href=\"#\"\n            className=\"rounded-full border border-zinc-950/10 px-4 py-2 text-sm font-medium text-zinc-700 transition-colors hover:bg-zinc-950/5 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#7c3aed] dark:border-white/15 dark:text-zinc-300 dark:hover:bg-white/10 dark:focus-visible:outline-[#a78bfa]\"\n          >\n            Report link\n          </a>\n        </div>\n      </div>\n    </div>\n  );\n}\n"
    }
  ]
}