Registry Management
Add new components to the registry
Registry Management
Use the Registry page to add new components to the MadUI registry.
The registry management interface allows you to:
- Add new UI components, blocks, hooks, charts, and more
- Automatically update the registry files
- Trigger the registry build process
How to Add a Component
- Navigate to the Registry page
- Enter your component name (e.g.,
my-button) - Select the registry type (UI, Block, Example, Hook, Lib, Chart, or Internal)
- Paste your component's TSX code
- Click "Add Component"
The component will be:
- Written to
/registry/new-york-v4/<type>/<component-name>.tsx - Added to the appropriate
registry-<type>.tsfile - Built automatically via
pnpm registry:build
Registry Types
- UI: Reusable UI components
- Block: Larger component blocks or compositions
- Example: Example implementations
- Hook: React hooks
- Lib: Library utilities and helpers
- Chart: Chart components
- Internal: Internal components