{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pluck-string-changelog-demo",
  "type": "registry:block",
  "title": "Pluck String: Changelog",
  "description": "Interactive SVG Divider example, Changelog: Faded strings between release notes, with a softer highlight. A take on the section divider (separator). Fits changelog and footer sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "changelog",
    "footer",
    "section-divider",
    "divider",
    "interaction",
    "svg"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/pluck-string#pluck-string-changelog-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/pluck-string.json"
  ],
  "files": [
    {
      "path": "components/pluck-string-changelog-demo.tsx",
      "type": "registry:component",
      "content": "import * as React from \"react\";\n\nimport { PluckString } from \"@/components/ui/pluck-string\";\n\nconst releases = [\n  {\n    version: \"2.4.0\",\n    date: \"Oct 2\",\n    title: \"Springs, everywhere\",\n    body: \"Every transition now runs on a spring, so interrupting one never snaps.\",\n  },\n  {\n    version: \"2.3.1\",\n    date: \"Sep 18\",\n    title: \"Quieter dark mode\",\n    body: \"Borders and dividers sit a step lower, so content leads.\",\n  },\n  {\n    version: \"2.3.0\",\n    date: \"Sep 4\",\n    title: \"Reduced motion, by default\",\n    body: \"Movement drops out for people who ask for less. Feedback stays.\",\n  },\n];\n\nexport function PluckStringChangelogDemo() {\n  return (\n    <div className=\"w-full max-w-xl\">\n      <p className=\"font-mono text-xs uppercase tracking-widest text-zinc-500\">Changelog</p>\n      <div className=\"mt-4\">\n        {releases.map((release, index) => (\n          <React.Fragment key={release.version}>\n            {index > 0 ? (\n              <PluckString\n                fade\n                pull={16}\n                className=\"h-12 text-zinc-200 dark:text-zinc-800\"\n                highlightClassName=\"text-zinc-500 dark:text-zinc-400\"\n              />\n            ) : null}\n            <article className=\"grid gap-1 sm:grid-cols-[7rem_1fr] sm:gap-6\">\n              <div className=\"flex gap-3 font-mono text-xs text-zinc-500 sm:flex-col sm:gap-1 sm:pt-1\">\n                <span className=\"text-zinc-900 dark:text-zinc-100\">v{release.version}</span>\n                <span>{release.date}</span>\n              </div>\n              <div>\n                <h4 className=\"font-medium text-zinc-900 dark:text-zinc-50\">{release.title}</h4>\n                <p className=\"mt-1 text-sm leading-relaxed text-zinc-600 dark:text-zinc-400\">\n                  {release.body}\n                </p>\n              </div>\n            </article>\n          </React.Fragment>\n        ))}\n      </div>\n    </div>\n  );\n}\n"
    }
  ]
}