{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-01",
  "title": "Hero",
  "description": "A landing hero: an announcement, a headline that blurs in, two actions and a line of proof, over a Kinetic Grid drawn in the system's own colours. Renders in any Satori UI design system (cueit, skita, folio or a generated one): install a system first.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "badge",
    "button",
    "@satoriui/blur-reveal",
    "@satoriui/kinetic-grid"
  ],
  "files": [
    {
      "path": "design-systems/blocks/hero-01.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\nimport { ArrowRight } from \"lucide-react\";\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport BlurReveal from \"@/components/satori-ui/blur-reveal\";\nimport KineticGrid from \"@/components/satori-ui/kinetic-grid\";\nimport { cn } from \"@/lib/utils\";\n\n/**\n * A landing-page hero: an announcement, a headline that blurs in word by\n * word, one line of explanation, two actions and a line of proof, over a\n * Kinetic Grid that bends under the pointer.\n *\n * Written against the block contract, so it takes the look of whichever\n * design system scopes it. The grid follows the system too: its lines are\n * the text colour and its glow is the system's action colour, re-read when\n * the theme or the system changes. With reduced motion the headline fades\n * in and the grid sends out no ripples.\n */\n\nexport type HeroLink = { label: string; href: string };\n\nexport type Hero01Props = Omit<React.ComponentProps<\"section\">, \"title\"> & {\n  /** A short pill above the headline. Leave unset to hide it. */\n  announcement?: HeroLink | null;\n  title?: string;\n  description?: string;\n  primary?: HeroLink;\n  secondary?: HeroLink | null;\n  /** A line of proof under the actions. Leave unset to hide it. */\n  note?: string | null;\n  /** Turn the grid off for a plain hero. @default true */\n  grid?: boolean;\n};\n\nexport function Hero01({\n  announcement = { label: \"New: recurring billing in 30 currencies\", href: \"#\" },\n  title = \"Invoices that chase themselves.\",\n  description = \"Invoices, reminders and payments in one place, so your team spends Friday on the business instead of on overdue accounts.\",\n  primary = { label: \"Start free\", href: \"#\" },\n  secondary = { label: \"Book a demo\", href: \"#\" },\n  note = \"Free for your first three customers. No card needed.\",\n  grid = true,\n  className,\n  ...props\n}: Hero01Props) {\n  return (\n    <section\n      className={cn(\"@container/hero relative isolate w-full overflow-hidden text-foreground\", className)}\n      {...props}\n    >\n      {grid && (\n        // The grid fades out towards every edge, so the section never shows\n        // where the field ends.\n        <div\n          aria-hidden=\"true\"\n          className=\"absolute inset-0 -z-10\"\n          style={{\n            maskImage: \"radial-gradient(ellipse 70% 65% at 50% 45%, black 30%, transparent 80%)\",\n            WebkitMaskImage: \"radial-gradient(ellipse 70% 65% at 50% 45%, black 30%, transparent 80%)\",\n          }}\n        >\n          <KineticGrid\n            accentColor=\"var(--ds-ink, var(--primary))\"\n            className=\"absolute inset-0\"\n          />\n        </div>\n      )}\n\n      <div className=\"mx-auto flex min-h-[520px] max-w-3xl flex-col items-center justify-center gap-6 px-6 py-20 text-center @3xl/hero:min-h-[600px] @3xl/hero:py-28\">\n        {announcement && (\n          <Badge asChild variant=\"outline\" className=\"h-7 gap-2 rounded-full bg-background/70 px-3 backdrop-blur-sm\">\n            <a href={announcement.href}>\n              <span aria-hidden=\"true\" className=\"ds-ink size-1.5 rounded-full bg-current\" />\n              <span className=\"ds-small font-medium\">{announcement.label}</span>\n              <ArrowRight aria-hidden=\"true\" className=\"size-3 text-muted-foreground\" />\n            </a>\n          </Badge>\n        )}\n\n        {/* A display size for the system's title face: the hero is the one\n            place a page's title is larger than its own scale. */}\n        <BlurReveal\n          as=\"h1\"\n          className=\"ds-title text-balance text-foreground [--ds-title-leading:1.05] [--ds-title-size:2.5rem] @2xl/hero:[--ds-title-size:3.25rem] @4xl/hero:[--ds-title-size:4rem]\"\n        >\n          {title}\n        </BlurReveal>\n\n        <p className=\"ds-subtitle max-w-xl text-pretty [--ds-subtitle-leading:1.6] [--ds-subtitle-size:1rem] @2xl/hero:[--ds-subtitle-size:1.125rem]\">\n          {description}\n        </p>\n\n        <div className=\"flex flex-wrap items-center justify-center gap-3 pt-2\">\n          <Button asChild size=\"lg\">\n            <a href={primary.href}>\n              {primary.label}\n              <ArrowRight aria-hidden=\"true\" />\n            </a>\n          </Button>\n          {secondary && (\n            <Button asChild size=\"lg\" variant=\"outline\" className=\"bg-background/70 backdrop-blur-sm\">\n              <a href={secondary.href}>{secondary.label}</a>\n            </Button>\n          )}\n        </div>\n\n        {note && <p className=\"ds-meta\">{note}</p>}\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/satori-ui/blocks/hero-01.tsx"
    }
  ],
  "type": "registry:block"
}