{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "echo-reel-plans-demo",
  "type": "registry:block",
  "title": "Echo Reel: Plan Picker",
  "description": "Rotating Text Headline example, Plan Picker: The giant word picks a pricing plan: click the proof above or below, or use the arrow keys, and the price card beside it changes. A take on the text animation (text effect). Fits hero, pricing and footer sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "hero",
    "pricing",
    "footer",
    "text-animation",
    "text",
    "motion"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/echo-reel#echo-reel-plans-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/echo-reel.json"
  ],
  "files": [
    {
      "path": "components/echo-reel-plans-demo.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nimport { EchoReel } from \"@/components/ui/echo-reel\";\n\nconst PLANS = [\n  {\n    name: \"Solo\",\n    price: 12,\n    blurb: \"For one brand you're building yourself.\",\n    lines: [\n      \"One brand kit\",\n      \"Logo, palette and type pairings\",\n      \"Export to Figma and PDF\",\n    ],\n    cta: \"Start with Solo\",\n  },\n  {\n    name: \"Team\",\n    price: 36,\n    blurb: \"For an in-house team keeping five brands in line.\",\n    lines: [\n      \"Five brand kits, five seats\",\n      \"Shared templates and review links\",\n      \"Version history on every asset\",\n    ],\n    cta: \"Try Team free for 14 days\",\n  },\n  {\n    name: \"Studio\",\n    price: 96,\n    blurb: \"For agencies handing kits to clients.\",\n    lines: [\n      \"Unlimited client kits, 20 seats\",\n      \"White-label handoff pages\",\n      \"Priority support and SSO\",\n    ],\n    cta: \"Talk to us about Studio\",\n  },\n];\n\nfunction Check() {\n  return (\n    <svg\n      viewBox=\"0 0 16 16\"\n      aria-hidden\n      className=\"mt-0.5 size-4 shrink-0 text-[#ff3d1f] dark:text-[#ff6a4d]\"\n    >\n      <path\n        d=\"M3.5 8.5l3 3 6-7\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        strokeWidth=\"1.75\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      />\n    </svg>\n  );\n}\n\nexport function EchoReelPlansDemo() {\n  const [plan, setPlan] = React.useState(1);\n\n  return (\n    <section className=\"@container w-full max-w-4xl overflow-hidden rounded-3xl border border-[#0b0b0d]/10 bg-white px-5 pt-8 pb-8 text-[#0b0b0d] @[44rem]:px-10 @[44rem]:pb-10 dark:border-white/10 dark:bg-[#08080b] dark:text-[#f4f4f6]\">\n      <div className=\"flex flex-wrap items-baseline justify-between gap-x-6 gap-y-1\">\n        <h2 className=\"text-lg font-semibold tracking-tight\">Tinta pricing</h2>\n        <p className=\"text-[13px] text-[#0b0b0d]/55 dark:text-[#f4f4f6]/55\">\n          Click a plan above or below, or use <kbd className=\"font-sans\">↑</kbd>{\" \"}\n          <kbd className=\"font-sans\">↓</kbd>\n        </p>\n      </div>\n\n      <div className=\"mt-6 grid items-center gap-6 @[44rem]:mt-8 @[44rem]:grid-cols-[minmax(0,1.15fr)_minmax(0,1fr)] @[44rem]:gap-10\">\n        <EchoReel\n          words={PLANS.map((p) => p.name)}\n          value={plan}\n          onValueChange={(index) => setPlan(index)}\n          interval={false}\n          aria-label=\"Plan\"\n          className=\"mx-auto max-w-md text-[#ff3d1f] dark:text-[#ff5a3a]\"\n        />\n\n        {/* Every plan in one grid cell, so the card keeps its height while they cross. */}\n        <div className=\"mx-auto grid w-full max-w-sm\">\n          {PLANS.map((p, i) => {\n            const on = i === plan;\n            return (\n              <div\n                key={p.name}\n                aria-hidden={!on}\n                inert={!on}\n                className=\"[grid-area:1/1] rounded-2xl border border-[#0b0b0d]/10 bg-white p-5 shadow-sm transition-[opacity,transform] duration-300 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-opacity dark:border-white/10 dark:bg-white/[0.04]\"\n                style={{\n                  opacity: on ? 1 : 0,\n                  transform: on ? \"none\" : `translateY(${i < plan ? -6 : 6}px)`,\n                  transitionDelay: on ? \"120ms\" : \"0ms\",\n                }}\n              >\n                <div className=\"flex items-baseline gap-1.5\">\n                  <span className=\"text-4xl font-semibold tracking-tight tabular-nums\">\n                    ${p.price}\n                  </span>\n                  <span className=\"text-sm text-[#0b0b0d]/55 dark:text-[#f4f4f6]/55\">\n                    a month\n                  </span>\n                </div>\n                <p className=\"mt-1 text-sm text-[#0b0b0d]/65 dark:text-[#f4f4f6]/65\">\n                  {p.blurb}\n                </p>\n                <ul className=\"mt-4 space-y-2 text-sm\">\n                  {p.lines.map((line) => (\n                    <li key={line} className=\"flex gap-2\">\n                      <Check />\n                      {line}\n                    </li>\n                  ))}\n                </ul>\n                <a\n                  href=\"#plan\"\n                  tabIndex={on ? undefined : -1}\n                  className=\"mt-5 flex h-10 items-center justify-center rounded-full bg-[#ff3d1f] text-sm font-semibold text-white transition-colors duration-150 hover:bg-[#e8331a] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#ff3d1f] dark:bg-[#ff5a3a] dark:text-[#0b0b0d] dark:hover:bg-[#ff6e52]\"\n                >\n                  {p.cta}\n                </a>\n              </div>\n            );\n          })}\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}