{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "legal55",
  "title": "Plain Words Terms Table",
  "description": "A legal section that sets each binding clause against a plain-language reading of it on hairline rows, keyed by clause references, with a precedence disclaimer under the last row.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/legal55/legal55.tsx",
      "content": "\"use client\";\n\nimport { Badge23 } from \"@/components/beste/component/badge23\";\nimport { Button21 } from \"@/components/beste/component/button21\";\nimport { cn } from \"@/lib/utils\";\nimport Link from \"next/link\";\n\ninterface Badge {\n  label: string;\n}\n\ninterface ActionLink {\n  label: string;\n  href: string;\n}\n\ninterface ClausePair {\n  reference: string;\n  clause: string;\n  plain: string;\n}\n\ninterface Legal55Props {\n  badge?: Badge;\n  heading?: string;\n  description?: string;\n  columnLabels?: { clause: string; plain: string };\n  pairs?: ClausePair[];\n  disclaimer?: string;\n  button?: ActionLink;\n  className?: string;\n}\n\nexport const legal55Demo: Legal55Props = {\n  badge: { label: \"Terms, translated\" },\n  heading: \"The contract on the left, what we actually mean on the right\",\n  description:\n    \"The wording on the left is the binding text. The wording on the right is not, but it is what we would say if you asked us on a call.\",\n  columnLabels: { clause: \"The clause\", plain: \"In plain words\" },\n  pairs: [\n    {\n      reference: \"4.1\",\n      clause:\n        \"Customer retains all right, title and interest in Customer Data. Provider is granted a limited licence to process Customer Data solely to deliver the Services.\",\n      plain:\n        \"Your records stay yours. We only touch them to run the product, never to train anything or sell anything.\",\n    },\n    {\n      reference: \"6.3\",\n      clause:\n        \"Either party may terminate this Agreement for convenience on thirty (30) days' written notice, without penalty or early termination charge.\",\n      plain: \"You can leave with a month's notice, and it costs nothing to go.\",\n    },\n    {\n      reference: \"6.5\",\n      clause:\n        \"Upon termination, Provider shall make Customer Data available for export in a machine-readable format for a period of ninety (90) days.\",\n      plain:\n        \"For three months after you leave you can still pull everything out, in a format another system can read.\",\n    },\n    {\n      reference: \"9.2\",\n      clause:\n        \"Provider shall notify Customer without undue delay, and in any event within seventy-two (72) hours, of becoming aware of a Personal Data Breach.\",\n      plain:\n        \"If something goes wrong with your data you hear it from us within three days, even when it is embarrassing.\",\n    },\n    {\n      reference: \"11.4\",\n      clause:\n        \"Provider shall give not less than thirty (30) days' notice of any change to the list of Subprocessors, during which Customer may object.\",\n      plain:\n        \"We tell you a month before anyone new gets involved, and you get to say no.\",\n    },\n  ],\n  disclaimer:\n    \"Where the two columns disagree, the clause wins. The plain wording is a reading aid, not a contract.\",\n  button: { label: \"Read the full agreement\", href: \"https://beste.co\" },\n};\n\nexport function Legal55({\n  badge,\n  heading,\n  description,\n  columnLabels,\n  pairs = [],\n  disclaimer,\n  button,\n  className,\n}: Legal55Props) {\n  return (\n    <section className={cn(\"bg-background py-16 md:py-24 w-full\", className)}>\n      <div className=\"mx-auto max-w-7xl px-4 md:px-6\">\n        {badge && <Badge23 label={badge.label} />}\n\n        <div className=\"mt-6 border-t border-border pt-8 md:pt-10\">\n          <div className=\"grid gap-6 md:grid-cols-2 md:gap-12\">\n            {heading && (\n              <h2 className=\"text-3xl font-light leading-[1.1] tracking-tight text-foreground md:text-5xl\">\n                {heading}\n              </h2>\n            )}\n            {description && (\n              <div className=\"flex md:justify-end\">\n                <p className=\"max-w-md text-base leading-relaxed text-muted-foreground\">\n                  {description}\n                </p>\n              </div>\n            )}\n          </div>\n        </div>\n\n        {columnLabels && (\n          <div className=\"mt-12 hidden gap-12 border-b border-border pb-3 md:mt-16 md:grid md:grid-cols-[4rem_minmax(0,1fr)_minmax(0,1fr)]\">\n            <span aria-hidden=\"true\" />\n            <span className=\"text-sm text-muted-foreground\">\n              {columnLabels.clause}\n            </span>\n            <span className=\"text-sm text-muted-foreground\">\n              {columnLabels.plain}\n            </span>\n          </div>\n        )}\n\n        <div className=\"mt-12 md:mt-0\">\n          {pairs.map((pair, index) => (\n            <div\n              key={index}\n              className=\"grid gap-4 border-b border-border py-8 md:grid-cols-[4rem_minmax(0,1fr)_minmax(0,1fr)] md:gap-12\"\n            >\n              <span className=\"text-sm text-muted-foreground\">\n                {pair.reference}\n              </span>\n              <p className=\"text-base leading-relaxed text-muted-foreground\">{pair.clause}</p>\n              <p className=\"text-base leading-relaxed text-foreground\">{pair.plain}</p>\n            </div>\n          ))}\n        </div>\n\n        <div className=\"mt-8 flex flex-col items-start gap-4 md:flex-row md:items-center md:justify-between md:gap-8\">\n          {disclaimer && (\n            <p className=\"max-w-xl text-sm leading-relaxed text-muted-foreground\">{disclaimer}</p>\n          )}\n          {button && (\n            <Button21 asChild label={button.label} tone=\"outline\">\n              <Link href={button.href} />\n            </Button21>\n          )}\n        </div>\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/legal55.tsx"
    },
    {
      "path": "registry-components/badge23/badge23.tsx",
      "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\n\ntype Tone = \"muted\" | \"foreground\" | \"primary\";\n\ninterface Badge23Props {\n  /** Eyebrow label */\n  label: string;\n  /** Text/border tone */\n  tone?: Tone;\n  /** Additional classes merged onto the root */\n  className?: string;\n}\n\nconst toneStyles: Record<Tone, string> = {\n  muted: \"border-border text-muted-foreground\",\n  foreground: \"border-foreground/30 text-foreground\",\n  primary: \"border-primary/40 text-primary\",\n};\n\nexport const badge23Demo: Badge23Props = {\n  label: \"Product\",\n};\n\nexport function Badge23({ label, tone = \"muted\", className }: Badge23Props) {\n  return (\n    <span\n      className={cn(\n        \"inline-flex items-center rounded-md border bg-transparent px-2.5 py-1 text-sm font-medium leading-none\",\n        toneStyles[tone],\n        className\n      )}\n    >\n      {label}\n    </span>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/component/badge23.tsx"
    },
    {
      "path": "registry-components/button21/button21.tsx",
      "content": "\"use client\";\n\nimport type { LucideIcon } from \"lucide-react\";\nimport * as React from \"react\";\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\ntype Tone = \"primary\" | \"neutral\" | \"outline\";\n\ninterface Button21Props {\n  /** Button label */\n  label: string;\n  /**\n   * Compose the rendered element shadcn-style (radix asChild): your element\n   * (e.g. a router Link) becomes the root and the button content is injected\n   * as its children. Pass the element without children of its own.\n   */\n  asChild?: boolean;\n  /** The element to render when `asChild` is set (e.g. your framework's Link) */\n  children?: React.ReactElement;\n  /**\n   * Fallback link: renders a plain `<a>`. Prefer `asChild` with your\n   * framework's Link component for client-side navigation.\n   */\n  href?: string;\n  /** Optional trailing icon */\n  icon?: LucideIcon;\n  /** Surface tone: solid accent (default), soft neutral pill, or hairline outline */\n  tone?: Tone;\n  /** Click handler (used when there is no href and no asChild) */\n  onClick?: React.MouseEventHandler<HTMLButtonElement>;\n  /** Additional classes merged onto the button */\n  className?: string;\n}\n\nconst toneStyles: Record<Tone, string> = {\n  primary: \"bg-primary text-primary-foreground hover:bg-primary/90\",\n  neutral: \"bg-muted text-foreground hover:bg-muted/70\",\n  outline: \"border border-border bg-transparent text-foreground hover:bg-muted\",\n};\n\nexport const button21Demo: Button21Props = {\n  label: \"Book a demo\",\n};\n\nexport function Button21({\n  label,\n  asChild = false,\n  children,\n  href,\n  icon: Icon,\n  tone = \"primary\",\n  onClick,\n  className,\n}: Button21Props) {\n  const classes = cn(\n    \"group/button21 h-auto w-fit gap-2 rounded-md px-5 py-2.5 text-sm font-medium tracking-tight transition-colors\",\n    toneStyles[tone],\n    className\n  );\n\n  const inner = (\n    <>\n      {label}\n      {Icon && (\n        <Icon className=\"size-4 transition-transform motion-safe:group-hover/button21:translate-x-0.5\" />\n      )}\n    </>\n  );\n\n  if (asChild && React.isValidElement(children)) {\n    return (\n      <Button asChild className={classes}>\n        {React.cloneElement(children, undefined, inner)}\n      </Button>\n    );\n  }\n\n  if (href) {\n    return (\n      <Button asChild className={classes}>\n        <a href={href}>{inner}</a>\n      </Button>\n    );\n  }\n\n  return (\n    <Button type=\"button\" className={classes} onClick={onClick}>\n      {inner}\n    </Button>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/component/button21.tsx"
    }
  ],
  "type": "registry:block"
}