{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pluck-string-strum-demo",
  "type": "registry:block",
  "title": "Pluck String: Strum",
  "description": "Interactive SVG Divider example, Strum: Six strings tuned like a guitar: thicker strings are softer and ring longer. Sweep down across all of them. 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-strum-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/pluck-string.json"
  ],
  "files": [
    {
      "path": "components/pluck-string-strum-demo.tsx",
      "type": "registry:component",
      "content": "import { PluckString } from \"@/components/ui/pluck-string\";\n\n// Standard tuning in tab order: thin and quick on top, thick and slow below.\nconst strings = [\n  { note: \"e\", stiffness: 1500, damping: 7, width: 0.75 },\n  { note: \"B\", stiffness: 1150, damping: 6, width: 1 },\n  { note: \"G\", stiffness: 880, damping: 5, width: 1.25 },\n  { note: \"D\", stiffness: 670, damping: 4.5, width: 1.5 },\n  { note: \"A\", stiffness: 510, damping: 4, width: 1.75 },\n  { note: \"E\", stiffness: 390, damping: 3.5, width: 2 },\n];\n\nexport function PluckStringStrumDemo() {\n  return (\n    <div className=\"w-full max-w-xl rounded-2xl border border-zinc-200 bg-white p-6 shadow-xl shadow-zinc-900/5 sm:p-8 dark:border-zinc-800 dark:bg-zinc-950 dark:shadow-black/40\">\n      <div className=\"flex items-baseline justify-between\">\n        <p className=\"font-mono text-xs uppercase tracking-widest text-zinc-500\">Standard tuning</p>\n        <p className=\"font-mono text-xs text-zinc-400 dark:text-zinc-600\">Strum down</p>\n      </div>\n      <div className=\"mt-6\">\n        {strings.map((string) => (\n          <div key={string.note} className=\"flex items-center gap-4\">\n            <span className=\"w-3 font-mono text-xs text-zinc-500\">{string.note}</span>\n            <PluckString\n              pull={12}\n              stiffness={string.stiffness}\n              damping={string.damping}\n              strokeWidth={string.width}\n              className=\"h-8 flex-1 text-zinc-300 dark:text-zinc-700\"\n              highlightClassName=\"text-amber-500 dark:text-amber-400\"\n            />\n          </div>\n        ))}\n      </div>\n    </div>\n  );\n}\n"
    }
  ]
}