Accessible and customizable components that you can copy and paste into your apps. Free. Open Source. Use this to build your own component library.
miraicn-ui is a fork of shadcn/ui, building upon its excellent foundation to create a new component library.
Visit the documentation to learn more about using miraicn-ui.
You can test the miraicn-ui CLI locally before publishing to npm:
# Install dependencies
pnpm install
# Run the documentation site (includes component registry)
pnpm www:dev
# In another terminal, run the CLI in development mode
pnpm miraicn:dev# Test with local registry (make sure pnpm www:dev is running)
REGISTRY_URL=http://localhost:3333/r pnpm miraicn add button
# Or use the development scripts
pnpm miraicn init
pnpm miraicn add button-
Using npm/pnpm link (test as if installed globally):
cd packages/shadcn pnpm link --global miraicn-ui add button -
Direct execution:
node packages/shadcn/dist/index.js add button
-
Using npx with local path:
npx ./packages/shadcn add button
Note: Since miraicn.com doesn't exist yet, always use the local registry by running pnpm www:dev first.
Please read the contributing guide.
Licensed under the MIT license.
