Documentation
Learn how to use MyloUI Blocks in your projects.
Registry Setup
Before installing blocks for the first time, add MyloUI as a registry in your project. Run this once:
npx @mylo-ui/registry initThis adds the following to your components.json. You can also add it manually:
{
"registries": {
"@mylo-ui": "https://mylo-ui.vercel.app/r/{name}.json"
}
}CLI Installation
Once the registry is configured, install any block using the shadcn CLI.
npx shadcn add @mylo-ui/[block-name]Copy-Paste
You can also copy code directly from the website and paste it into your project.
View All BlocksPrerequisites
- • Node.js 18 or later
- • A project with shadcn/ui installed
- • Tailwind CSS configured