Files
zeekay 16c4453cc1 feat: sync with upstream shadcn/ui (through [email protected])
Squash merge of shadcn-ui/ui main branch into hanzo/ui, bringing in:
- [email protected] through [email protected] releases
- New apps/v4 directory structure
- Registry system improvements and MCP server
- Framework support (Vue, Svelte, React Native)
- New templates (vite-app, monorepo-next, laravel)
- Zod 4 compatibility (scoped override for zod@>4)
- Test fixture corrections for alias resolution

All 867 merge conflicts resolved preserving Hanzo customizations.
1020/1020 shadcn tests pass.
2026-02-09 10:44:26 -08:00

25 lines
1009 B
JSON

{
"name": "button-01",
"type": "registry:block",
"description": "A simple button.",
"files": [
{
"path": "blocks/button-01/page.tsx",
"content": "import { AmazingButton } from \"@/registry/new-york/blocks/button-01/components/amazing-button\"\n\nexport default function Page() {\n return (\n <div className=\"h-svh flex items-center justify-center\">\n <AmazingButton />\n </div>\n )\n}\n",
"type": "registry:page",
"target": "app/page.tsx"
},
{
"path": "blocks/button-01/components/amazing-button.tsx",
"content": "import { Button } from \"@/registry/new-york/ui/button\"\n\nexport function AmazingButton() {\n return (\n <Button className=\"bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 text-white\">\n Amazing Button\n </Button>\n )\n}\n",
"type": "registry:component",
"target": ""
}
],
"meta": {
"iframeHeight": "300px"
},
"categories": [
"misc"
]
}