{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "your-component", "type": "registry:ui", "title": "Your Component", "description": "A placeholder component. Replace this with your custom shadcn component.", "files": [ { "path": "registry/new-york/your-component.tsx", "content": "import { HTMLAttributes, forwardRef } from \"react\"\nimport { cn } from \"../../lib/utils\"\n\nexport interface YourComponentProps extends HTMLAttributes {}\n\n/**\n * 🚀 YOUR COMPONENT TEMPLATE\n *\n * This is a placeholder component. Replace this with your actual component implementation.\n *\n * Steps to customize:\n * 1. Rename this file to match your component name (e.g., my-button.tsx)\n * 2. Update the component logic and props\n * 3. Update registry.json with your component details\n * 4. Run `pnpm registry:build` to rebuild the registry\n *\n * For more information, visit the documentation.\n */\nconst YourComponent = forwardRef(\n ({ className, ...props }, ref) => {\n return (\n \n

\n Replace this placeholder with your custom shadcn component\n

\n

\n Edit{\" \"}\n \n registry/new-york/your-component.tsx\n {\" \"}\n to get started\n

\n \n )\n }\n)\n\nYourComponent.displayName = \"YourComponent\"\n\nexport { YourComponent }\n", "type": "registry:ui", "target": "components/ui/your-component.tsx" } ] }