{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "cta-split",
  "title": "Call to action split",
  "description": "The close of a landing page beside the product finishing the job the page sold: the words and actions on the start side, and a picture of the product at work that plays once when it is seen.",
  "dependencies": [],
  "registryDependencies": [
    "https://kinoui.com/r/animated-number.json",
    "https://kinoui.com/r/avatar.json",
    "https://kinoui.com/r/badge.json",
    "https://kinoui.com/r/button.json",
    "https://kinoui.com/r/cta-parts.json",
    "https://kinoui.com/r/feature-parts.json",
    "https://kinoui.com/r/hero-parts.json",
    "https://kinoui.com/r/meter.json",
    "https://kinoui.com/r/scene.json",
    "https://kinoui.com/r/swap.json"
  ],
  "files": [
    {
      "path": "registry/components/kino/cta-split/cta-split.tsx",
      "content": "'use client'\n\nimport {\n  ctaColumnClassName,\n  type CtaProps,\n  ctaSectionClassName,\n  CtaWords,\n} from '@/registry/lib/cta-parts'\nimport { FeatureStage } from '@/registry/lib/feature-parts'\nimport { HeroShot } from '@/registry/lib/hero-parts'\nimport { type ReactNode, useId } from 'react'\n\nimport { cn } from '@/lib/utils'\n\n/*\n * The close of a landing page, beside the product finishing the job the page\n * sold: the words and actions on the start side, and a picture of the\n * product at work on its stage, which plays once when it is seen and then\n * rests on the result. The words stand still, so what moves is the outcome.\n *\n *   <CtaSplit\n *     title='Ship the next cycle on time.'\n *     actions={<a href='/signup' className={buttonVariants({ size: 'lg' })}>Start for free</a>}\n *     picture={<ShippedPicture />}\n *   />\n */\n\ninterface CtaSplitProps extends CtaProps {\n  /** The product finishing the job, made of live components that play once when seen (`useScene`). */\n  picture: ReactNode\n}\n\nfunction CtaSplit({\n  title,\n  description,\n  eyebrow,\n  actions,\n  note,\n  proof,\n  picture,\n  heading = 'h2',\n  className,\n  ...props\n}: CtaSplitProps) {\n  const titleId = useId()\n  return (\n    <section\n      data-slot='cta-split'\n      aria-labelledby={titleId}\n      className={cn(ctaSectionClassName, className)}\n      {...props}\n    >\n      <div\n        className={cn(\n          ctaColumnClassName,\n          'grid items-center gap-12 @3xl/cta:grid-cols-[minmax(0,5fr)_minmax(0,6fr)] @3xl/cta:gap-16',\n        )}\n      >\n        <CtaWords\n          titleId={titleId}\n          title={title}\n          description={description}\n          eyebrow={eyebrow}\n          heading={heading}\n          actions={actions}\n          note={note}\n          proof={proof}\n          align='start'\n        />\n        <HeroShot decorative className='min-w-0'>\n          <FeatureStage className='aspect-[4/3] @5xl/cta:*:data-[slot=feature-picture]:[zoom:1.1]'>\n            {picture}\n          </FeatureStage>\n        </HeroShot>\n      </div>\n    </section>\n  )\n}\n\nexport { CtaSplit, type CtaSplitProps }\n",
      "type": "registry:component",
      "target": "@components/kino/cta-split/cta-split.tsx"
    }
  ],
  "type": "registry:block"
}