{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "scrub-bar-demo",
  "title": "Scrub Bar Demo",
  "description": "A worked example of Scrub Bar: The seek control on its own: a slider that happens to be a timeline, announced in minutes and seconds.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/scrub-bar.json"
  ],
  "files": [
    {
      "path": "components/demos/scrub-bar-demo.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { ScrubBar } from \"@/registry/default/scrub-bar/scrub-bar\"\n\nexport function ScrubBarDemo() {\n  const [at, setAt] = React.useState(42)\n\n  return (\n    <div className=\"w-full max-w-md\">\n      <ScrubBar\n        duration={214}\n        value={at}\n        buffered={158}\n        onValueChange={setAt}\n        label=\"Seek the recording\"\n      />\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}