{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "cta-01",
  "title": "Call to action",
  "description": "The closing call to action on the emphasised surface, with a heading that blurs in as it scrolls into view. Renders in any Satori UI design system (cueit, skita, folio or a generated one): install a system first.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "@satoriui/blur-reveal"
  ],
  "files": [
    {
      "path": "design-systems/blocks/cta-01.tsx",
      "content": "\"use client\";\r\n\r\nimport * as React from \"react\";\r\nimport { ArrowRight } from \"lucide-react\";\r\nimport { Button } from \"@/components/ui/button\";\r\nimport BlurReveal from \"@/components/satori-ui/blur-reveal\";\r\nimport { cn } from \"@/lib/utils\";\r\n\r\n/**\r\n * The closing call to action: one sentence that blurs in when it scrolls\r\n * into view, one line under it and the page's main action, on the\r\n * emphasised surface so it is the last thing the eye lands on.\r\n *\r\n * Written against the block contract, so it takes the look of whichever\r\n * design system scopes it. With reduced motion the heading fades in.\r\n */\r\n\r\nexport type CtaLink = { label: string; href: string };\r\n\r\nexport type Cta01Props = Omit<React.ComponentProps<\"section\">, \"title\"> & {\r\n  title?: string;\r\n  description?: string;\r\n  primary?: CtaLink;\r\n  secondary?: CtaLink | null;\r\n};\r\n\r\nexport function Cta01({\r\n  title = \"Get paid for the work you already did\",\r\n  description = \"Set up in an afternoon. Free for your first three customers.\",\r\n  primary = { label: \"Start free\", href: \"#\" },\r\n  secondary = { label: \"Talk to sales\", href: \"#\" },\r\n  className,\r\n  ...props\r\n}: Cta01Props) {\r\n  return (\r\n    <section className={cn(\"@container/cta w-full px-6 py-12\", className)} {...props}>\r\n      <div className=\"ds-tile-emphasis mx-auto flex max-w-5xl flex-col items-center gap-5 px-6 py-14 text-center @3xl/cta:py-20\">\r\n        <BlurReveal\r\n          as=\"h2\"\r\n          inView\r\n          className=\"ds-title max-w-2xl text-balance [--ds-title-size:1.875rem] @3xl/cta:[--ds-title-size:2.5rem]\"\r\n        >\r\n          {title}\r\n        </BlurReveal>\r\n        <p className=\"ds-text max-w-md text-pretty text-muted-foreground\">{description}</p>\r\n        <div className=\"flex flex-wrap items-center justify-center gap-2 pt-2\">\r\n          <Button asChild size=\"lg\" variant=\"secondary\">\r\n            <a href={primary.href}>\r\n              {primary.label}\r\n              <ArrowRight aria-hidden=\"true\" />\r\n            </a>\r\n          </Button>\r\n          {secondary && (\r\n            <Button asChild size=\"lg\" variant=\"ghost\" className=\"text-current hover:bg-current/10 hover:text-current\">\r\n              <a href={secondary.href}>{secondary.label}</a>\r\n            </Button>\r\n          )}\r\n        </div>\r\n      </div>\r\n    </section>\r\n  );\r\n}\r\n",
      "type": "registry:component",
      "target": "components/satori-ui/blocks/cta-01.tsx"
    }
  ],
  "type": "registry:block"
}