{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "seam-demo",
  "type": "registry:block",
  "title": "Seam: Studio Site",
  "description": "Halftone Section Divider example, Studio Site: A design studio's page, where the hero gives way to a blue stats band and back, in dots, squares or dither. A take on the section divider (separator) and animated background (backdrop). Fits footer and changelog sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "footer",
    "changelog",
    "section-divider",
    "animated-background",
    "scroll-animation",
    "background",
    "scroll",
    "canvas"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/seam#seam-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/seam.json"
  ],
  "files": [
    {
      "path": "components/seam-demo.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nimport { Seam, type SeamPattern } from \"@/components/ui/seam\";\n\nconst patterns: { value: SeamPattern; label: string }[] = [\n  { value: \"dots\", label: \"Dots\" },\n  { value: \"squares\", label: \"Squares\" },\n  { value: \"dither\", label: \"Dither\" },\n];\n\nconst stats = [\n  { value: \"42\", label: \"launches shipped since 2019\" },\n  { value: \"9 days\", label: \"median from brief to a live first page\" },\n  { value: \"31\", label: \"teams back for a second release\" },\n];\n\nconst work = [\n  { client: \"Tessel\", job: \"Launch site for an AI upscaler\", year: \"2026\" },\n  { client: \"Okto\", job: \"Identity and app UI for payroll\", year: \"2025\" },\n  { client: \"Marrow & Vine\", job: \"Site and menus for a restaurant group\", year: \"2025\" },\n];\n\nexport function SeamDemo() {\n  const [pattern, setPattern] = React.useState<SeamPattern>(\"dots\");\n\n  return (\n    <div className=\"relative h-[var(--demo-height,36rem)] w-full overflow-hidden rounded-2xl border border-zinc-950/10 bg-white text-zinc-950 dark:border-white/10 dark:bg-[#07080c] dark:text-zinc-100\">\n      <div className=\"h-full overflow-y-auto overscroll-contain\">\n        <section className=\"bg-white px-6 pt-5 pb-14 sm:px-10 dark:bg-[#07080c]\">\n          <nav className=\"flex items-center justify-between gap-4\">\n            <a href=\"#\" className=\"flex items-center gap-2 text-sm font-semibold tracking-[-0.02em]\">\n              <span aria-hidden className=\"grid size-5 grid-cols-2 gap-px\">\n                <span className=\"bg-current\" />\n                <span className=\"bg-[#2747ff]\" />\n                <span className=\"bg-[#2747ff]\" />\n                <span className=\"bg-current\" />\n              </span>\n              Halden\n            </a>\n            <div className=\"hidden items-center gap-6 text-sm text-zinc-500 sm:flex dark:text-zinc-400\">\n              <a href=\"#\" className=\"hover:text-zinc-950 dark:hover:text-white\">Work</a>\n              <a href=\"#\" className=\"hover:text-zinc-950 dark:hover:text-white\">Studio</a>\n              <a href=\"#\" className=\"hover:text-zinc-950 dark:hover:text-white\">Journal</a>\n            </div>\n          </nav>\n          <p className=\"mt-14 text-xs font-medium tracking-wide text-zinc-500 uppercase dark:text-zinc-400\">\n            Brand and product studio · Oslo\n          </p>\n          <h1 className=\"mt-3 max-w-xl text-4xl font-medium tracking-[-0.035em] text-balance sm:text-5xl\">\n            We design the first five seconds.\n          </h1>\n          <p className=\"mt-4 max-w-md text-[15px] leading-relaxed text-zinc-500 dark:text-zinc-400\">\n            Identities, launch sites and product UI for teams heading into their first big release.\n          </p>\n          <div className=\"mt-7 flex flex-wrap items-center gap-x-5 gap-y-3\">\n            <a\n              href=\"#\"\n              className=\"rounded-full bg-zinc-950 px-5 py-2.5 text-sm font-medium text-white hover:bg-zinc-800 dark:bg-white dark:text-zinc-950 dark:hover:bg-zinc-200\"\n            >\n              See the work\n            </a>\n            <a href=\"mailto:hello@halden.example\" className=\"text-sm text-zinc-500 hover:text-zinc-950 dark:text-zinc-400 dark:hover:text-white\">\n              hello@halden.example\n            </a>\n          </div>\n        </section>\n\n        <Seam pattern={pattern} className=\"h-36\" />\n\n        <section className=\"bg-[#2747ff] px-6 py-14 text-white sm:px-10\">\n          <p className=\"text-xs font-medium tracking-wide text-white/70 uppercase\">Since 2019</p>\n          <dl className=\"mt-6 grid gap-8 sm:grid-cols-3\">\n            {stats.map((stat) => (\n              <div key={stat.label}>\n                <dt className=\"sr-only\">{stat.label}</dt>\n                <dd className=\"text-4xl font-medium tracking-[-0.03em] tabular-nums\">{stat.value}</dd>\n                <dd className=\"mt-2 max-w-48 text-sm leading-snug text-white/75\">{stat.label}</dd>\n              </div>\n            ))}\n          </dl>\n        </section>\n\n        <Seam pattern={pattern} seed={5} className=\"h-36\" />\n\n        <section className=\"bg-white px-6 pt-10 pb-12 sm:px-10 dark:bg-[#07080c]\">\n          <h2 className=\"text-xs font-medium tracking-wide text-zinc-500 uppercase dark:text-zinc-400\">Selected work</h2>\n          <ul className=\"mt-4 divide-y divide-zinc-950/10 border-y border-zinc-950/10 dark:divide-white/10 dark:border-white/10\">\n            {work.map((item) => (\n              <li key={item.client} className=\"flex flex-wrap items-baseline gap-x-4 gap-y-1 py-4\">\n                <span className=\"text-[15px] font-medium tracking-[-0.01em] sm:w-32 sm:shrink-0\">{item.client}</span>\n                <span className=\"order-last basis-full text-sm text-zinc-500 sm:order-none sm:flex-1 sm:basis-auto dark:text-zinc-400\">\n                  {item.job}\n                </span>\n                <span className=\"ml-auto text-sm text-zinc-400 tabular-nums dark:text-zinc-500\">{item.year}</span>\n              </li>\n            ))}\n          </ul>\n          <div className=\"mt-12 flex flex-wrap items-end justify-between gap-6\">\n            <p className=\"max-w-sm text-2xl font-medium tracking-[-0.03em] text-balance\">Have a launch on the calendar?</p>\n            <a\n              href=\"#\"\n              className=\"rounded-full bg-[#2747ff] px-5 py-2.5 text-sm font-medium text-white hover:bg-[#1f3be0]\"\n            >\n              Book a call\n            </a>\n          </div>\n          <p className=\"mt-12 text-xs text-zinc-400 dark:text-zinc-500\">© 2026 Halden Studio · halden.example</p>\n        </section>\n      </div>\n\n      <div\n        role=\"group\"\n        aria-label=\"Seam pattern\"\n        className=\"absolute right-3 bottom-3 flex rounded-full border border-zinc-950/10 bg-white/90 p-0.5 text-xs shadow-sm backdrop-blur dark:border-white/10 dark:bg-zinc-900/90\"\n      >\n        {patterns.map((option) => (\n          <button\n            key={option.value}\n            type=\"button\"\n            aria-pressed={pattern === option.value}\n            onClick={() => setPattern(option.value)}\n            className={\n              pattern === option.value\n                ? \"rounded-full bg-zinc-950 px-3 py-1 font-medium text-white dark:bg-white dark:text-zinc-950\"\n                : \"rounded-full px-3 py-1 text-zinc-500 hover:text-zinc-950 dark:text-zinc-400 dark:hover:text-white\"\n            }\n          >\n            {option.label}\n          </button>\n        ))}\n      </div>\n    </div>\n  );\n}\n"
    }
  ]
}