{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-text-features-team-notes-2",
  "type": "registry:block",
  "title": "Team notes",
  "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/text-features-team-notes-2.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/text-features-team-notes-2.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/showcase.tsx:366.\nimport { useState } from \"react\";\nimport { SceneCard, Action } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const [draft, setDraft] = useState(\"\");\n  const [notes, setNotes] = useState([\n    \"Use a single entrance sign to establish the hierarchy. Directional signs should repeat the destination names from the visitor map.\",\n  ]);\n\n  return (\n    <>\n      <div\n        className=\"overtrue-block-content\"\n        data-workspace-page=\"text-features\"\n      >\n        <SceneCard title=\"Team notes\">\n          <div className=\"scene-note-list\">\n            {notes.map((note, i) => (\n              <div key={i}>\n                <p>{note}</p>\n                <small className=\"scene-subtle\">\n                  {i === 0 ? \"Ines Duarte · 10:40\" : \"Maya Okafor · Just now\"}\n                </small>\n              </div>\n            ))}\n          </div>\n          <form\n            className=\"scene-form\"\n            onSubmit={(e) => {\n              e.preventDefault();\n              if (draft.trim()) {\n                setNotes((items) => [...items, draft.trim()]);\n                setDraft(\"\");\n              }\n            }}\n          >\n            <label>\n              Add a note\n              <textarea\n                required\n                rows={3}\n                value={draft}\n                onChange={(e) => setDraft(e.target.value)}\n              />\n            </label>\n            <Action type=\"submit\">Save note</Action>\n          </form>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/text-features-team-notes-2. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
