{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-carousel-carousel-1-1",
  "type": "registry:block",
  "title": "Project showcase",
  "description": "Workspace card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "workspace"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/carousel-carousel-1-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/carousel-carousel-1-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/library.tsx:271.\nimport { useState } from \"react\";\nimport { projects } from \"./runtime/data/workspace/studio\";\nimport { SceneCard, Action } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const [index, setIndex] = useState(0);\n  const project = projects[index];\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page=\"carousel\">\n        <SceneCard title={project.name} description={project.client}>\n          <img\n            className=\"scene-portfolio-image\"\n            src={project.image}\n            alt={`${project.name} concept`}\n          />\n          <div className=\"scene-toolbar scene-review-pagination\">\n            <Action\n              onClick={() =>\n                setIndex((index + projects.length - 1) % projects.length)\n              }\n            >\n              Previous\n            </Action>\n            <span aria-live=\"polite\">\n              {index + 1} of {projects.length}\n            </span>\n            <Action onClick={() => setIndex((index + 1) % projects.length)}>\n              Next\n            </Action>\n          </div>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/carousel-carousel-1-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
