{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-split",
  "type": "registry:block",
  "title": "Split product hero",
  "description": "Headline and CTAs beside a product render, with a four-cell mono spec ledger.",
  "author": "StoreKit <hello@storekit.dev>",
  "categories": [
    "hero",
    "supplements",
    "wellness"
  ],
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "https://storekit-eight.vercel.app/r/cn.json",
    "https://storekit-eight.vercel.app/r/sk-analytics.json"
  ],
  "files": [
    {
      "path": "hero/hero-split.tsx",
      "content": "\"use client\"\n\nimport { motion, useReducedMotion } from \"motion/react\"\nimport { cn } from \"@/components/storekit/lib/cn\"\nimport { useSkBlock } from \"@/components/storekit/lib/sk-analytics\"\n\n/* Split product hero. Headline, subcopy and a CTA pair on the left with a\n   four-cell mono spec ledger; the product render fills a recessed panel on the\n   right with a soft accent highlight washed over it. Stacks on mobile. */\n\nconst EASE = [0.23, 1, 0.32, 1] as const\n\ntype Cta = { label: string; href: string }\ntype Spec = { label: string; value: string; highlight?: boolean }\n\nexport function HeroSplit({\n  eyebrow = \"Daily wellness\",\n  headline = \"One scoop. Your whole morning, handled.\",\n  subcopy = \"Greens, adaptogens and probiotics that actually taste good. Third-party tested, made in the USA.\",\n  primaryCta = { label: \"Shop Daily Greens\", href: \"#\" },\n  secondaryCta = { label: \"See lab results\", href: \"#\" },\n  specs = [\n    { label: \"Servings\", value: \"30\" },\n    { label: \"Per serving\", value: \"$1.63\" },\n    { label: \"Sugar\", value: \"0g\", highlight: true },\n    { label: \"Tested\", value: \"Every batch\" },\n  ],\n  image = \"/placeholder.webp\",\n  imageAlt = \"Product render\",\n  className,\n}: {\n  eyebrow?: string\n  headline?: string\n  subcopy?: string\n  primaryCta?: Cta\n  secondaryCta?: Cta\n  specs?: Spec[]\n  image?: string\n  imageAlt?: string\n  className?: string\n}) {\n  const reduce = useReducedMotion()\n  const sk = useSkBlock(\"hero\", \"hero-split\")\n  const rise = (i: number) => ({\n    initial: { opacity: 0, y: reduce ? 0 : 8 },\n    animate: { opacity: 1, y: 0 },\n    transition: { duration: 0.45, ease: EASE, delay: reduce ? 0 : i * 0.06 },\n  })\n\n  return (\n    <section ref={sk.ref} {...sk.attrs} className={cn(\"bg-sk-paper text-sk-ink\", className)}>\n      <div className=\"mx-auto grid w-full max-w-6xl items-center gap-10 px-4 py-12 sm:px-8 sm:py-16 lg:min-h-[480px] lg:grid-cols-2 lg:gap-16\">\n        <div className=\"order-2 lg:order-1\">\n          <motion.p {...rise(0)} className=\"font-sk-mono text-[11px] uppercase tracking-[0.14em] text-sk-muted\">\n            {eyebrow}\n          </motion.p>\n          <motion.h1\n            {...rise(1)}\n            className=\"mt-4 max-w-xl text-balance font-sk-display font-semibold leading-[1.1] tracking-[-0.02em]\"\n            style={{ fontSize: \"clamp(2.25rem, 4.2vw, 3.25rem)\" }}\n          >\n            {headline}\n          </motion.h1>\n          <motion.p {...rise(2)} className=\"mt-5 max-w-md text-[15px] leading-[1.5] text-sk-muted\">\n            {subcopy}\n          </motion.p>\n          <motion.div {...rise(3)} className=\"mt-8 flex flex-col gap-3 sm:flex-row\">\n            <a\n              href={primaryCta.href}\n              onClick={() => sk.emit(\"interact\", \"cta\")}\n              className=\"sk-btn inline-flex min-h-12 items-center justify-center py-2.5 text-center leading-tight rounded-sk-btn bg-sk-accent px-7 text-[15px] font-medium text-sk-accent-ink outline-none transition-[filter,transform] duration-200 ease-sk-out hover:brightness-[1.06] focus-visible:ring-2 focus-visible:ring-sk-accent focus-visible:ring-offset-2 focus-visible:ring-offset-sk-paper active:scale-[0.97]\"\n            >\n              {primaryCta.label}\n            </a>\n            <a\n              href={secondaryCta.href}\n              onClick={() => sk.emit(\"interact\", \"cta_secondary\")}\n              className=\"sk-btn inline-flex min-h-12 items-center justify-center py-2.5 text-center leading-tight rounded-sk-btn border border-sk-line px-7 text-[15px] font-medium text-sk-ink outline-none transition-[background-color,transform] duration-200 ease-sk-out hover:bg-sk-ink/[0.04] focus-visible:ring-2 focus-visible:ring-sk-accent focus-visible:ring-offset-2 focus-visible:ring-offset-sk-paper active:scale-[0.97]\"\n            >\n              {secondaryCta.label}\n            </a>\n          </motion.div>\n          <motion.dl\n            {...rise(4)}\n            className=\"mt-10 grid grid-cols-2 gap-px overflow-hidden rounded-sk-card border border-sk-line bg-sk-line sm:grid-cols-4\"\n          >\n            {specs.map((s) => (\n              <div key={s.label} className=\"flex flex-col gap-1 bg-sk-paper px-4 py-3\">\n                <dt className=\"font-sk-mono text-[11px] uppercase tracking-[0.14em] text-sk-muted\">{s.label}</dt>\n                <dd className={cn(\"font-sk-mono text-[15px] tabular-nums\", s.highlight ? \"text-sk-accent\" : \"text-sk-ink\")}>\n                  {s.value}\n                </dd>\n              </div>\n            ))}\n          </motion.dl>\n        </div>\n\n        <motion.div\n          initial={{ opacity: 0, scale: reduce ? 1 : 0.95 }}\n          animate={{ opacity: 1, scale: 1 }}\n          transition={{ duration: 0.5, ease: EASE, delay: reduce ? 0 : 0.1 }}\n          className=\"relative order-1 aspect-square overflow-hidden rounded-sk-card border border-sk-line bg-sk-surface sm:aspect-[5/4] lg:order-2 lg:aspect-[4/5]\"\n        >\n          <img src={image} alt={imageAlt} className=\"absolute inset-0 h-full w-full object-cover\" />\n          <div\n            aria-hidden\n            className=\"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_45%,rgb(var(--sk-accent)/0.12),transparent_65%)]\"\n          />\n        </motion.div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:block",
      "target": "components/storekit/hero/hero-split.tsx"
    }
  ],
  "meta": {
    "section": "hero",
    "variant": "split",
    "niche": [
      "supplements",
      "wellness"
    ],
    "commerce": [
      "cta"
    ],
    "previewHeight": 560
  }
}