{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "warp-cta",
  "title": "Warp CTA",
  "description": "A call-to-action banner with a hypnotic warped checkerboard background.",
  "dependencies": [
    "@paper-design/shaders-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/shaders/warp-cta/warp-cta.tsx",
      "content": "import { Warp, type WarpProps } from \"@paper-design/shaders-react\"\n\nimport { cn } from \"@/lib/utils\"\nimport { buttonVariants } from \"@/components/ui/button\"\n\ntype WarpCtaProps = React.ComponentProps<\"section\"> & {\n  title?: string\n  description?: string\n  action?: { label: string; href: string }\n  colors?: string[]\n  shape?: WarpProps[\"shape\"]\n}\n\nfunction WarpCta({\n  title = \"Ready when you are\",\n  description = \"Ship a call to action that actually moves. Swap the colors to match your brand in seconds.\",\n  action = { label: \"Create an account\", href: \"#\" },\n  colors = [\"#121212\", \"#9470ff\", \"#121212\", \"#8838ff\"],\n  shape = \"checks\",\n  className,\n  ...props\n}: WarpCtaProps) {\n  return (\n    <section\n      data-slot=\"warp-cta\"\n      className={cn(\n        \"flex w-full flex-col justify-center px-6 py-16\",\n        className\n      )}\n      {...props}\n    >\n      <div className=\"dark relative isolate mx-auto flex max-w-5xl flex-col items-start gap-6 overflow-hidden bg-black px-8 py-16 text-white sm:px-12 md:flex-row md:items-end md:justify-between\">\n        <Warp\n          aria-hidden\n          className=\"absolute inset-0 -z-10 size-full\"\n          colors={colors}\n          shape={shape}\n          proportion={0.45}\n          softness={1}\n          distortion={0.25}\n          swirl={0.8}\n          swirlIterations={10}\n          shapeScale={0.1}\n          speed={1}\n        />\n        <div className=\"flex max-w-lg flex-col gap-3\">\n          <h2 className=\"font-heading text-3xl leading-tight tracking-tight text-balance sm:text-5xl\">\n            {title}\n          </h2>\n          <p className=\"text-base text-pretty text-white/70\">{description}</p>\n        </div>\n        <a\n          href={action.href}\n          className={cn(\n            buttonVariants({ size: \"lg\" }),\n            \"shrink-0 bg-white text-black hover:bg-white/80\"\n          )}\n        >\n          {action.label}\n        </a>\n      </div>\n    </section>\n  )\n}\n\nexport { WarpCta }\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "sections",
    "cta"
  ],
  "type": "registry:block"
}