Files
cosscom__coss/apps/ui/public/r/frame-demo.json
Volnei Munhoz d5a915e6d0 add biome
2025-11-13 19:19:31 -03:00

16 lines
966 B
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "frame-demo",
"type": "registry:example",
"description": "Frame example",
"registryDependencies": ["@coss/frame"],
"files": [
{
"path": "registry/default/examples/frame-demo.tsx",
"content": "import {\n Frame,\n FrameDescription,\n FrameHeader,\n FramePanel,\n FrameTitle,\n} from \"@/registry/default/ui/frame\"\n\nexport default function FrameDemo() {\n return (\n <Frame className=\"w-full\">\n <FrameHeader>\n <FrameTitle>Section header</FrameTitle>\n <FrameDescription>Brief description about the section</FrameDescription>\n </FrameHeader>\n <FramePanel>\n <h2 className=\"text-sm font-semibold\">Section title</h2>\n <p className=\"text-sm text-muted-foreground\">Section description</p>\n </FramePanel>\n </Frame>\n )\n}\n",
"type": "registry:example"
}
],
"categories": ["frame"]
}