Choose a way to install
Before you start
Start from your existing React project with Node.js and a package manager.
Amines UI uses the shadcn registry format. If your project does not have a components.json file yet, initialize shadcn in the project before installing an item:
Terminal
npx shadcn@latest initInstall with an AI agent
Connect the shadcn MCP server to your coding agent. It can browse the registries configured in your project and install items from Amines.
Add the public Amines registry to the top-level registries property in components.json:
components.json
"registries": {
"@amines": "https://ui.amines.fun/registry/{name}.json"
}Terminal
npx shadcn@latest mcp init --client claudeRun the command, restart Claude Code, and check the connection with /mcp.
For manual client configuration, see the shadcn MCP setup guide. Once connected, ask your agent to search the @amines registry and add the component, block, or page you need.
Prompt example
Find an Amines UI hero section that fits a product landing page, install it, and add it to my home page.Set it up with one prompt
Paste this into an agent that can read and edit your project. Change the item name and where you want to use it to fit your task.
Prompt example
Set up Amines UI in this project.
If components.json is missing, initialize shadcn for this project and keep its current framework and package manager settings.
Add the public Amines registry at https://ui.amines.fun/registry/{name}.json under the @amines namespace, preserving the rest of components.json.
Install @amines/button and use it in the home page. If a requested item requires Pro access, stop and tell me how to configure an Amines API key before continuing.
Use the project's existing package manager, review and install the item's declared dependencies, and summarize the files you changed.The prompt uses a public component. For Pro blocks and pages, first configure your API key using the steps below.
Install with the shadcn CLI
Register Amines once in your project, then install each free component by its @amines name.
Add the public registry:
Install a component:
The CLI writes the source files into the paths configured in components.json. Import the component from the generated path and use it in your page:
app/page.js
import Button from "@/components/ui/Button";
export default function Page() {
return <Button>Explore components</Button>;
}Install Pro blocks and pages
Pro items use the same MCP agent or shadcn CLI workflow. Add your Amines API key to the project so the registry can verify your access.
- Create an Amines API key from your dashboard.
- Add it to .env.local in your project root:
.env.local
AMINES_API_KEY=amin_sk_your_api_key_hereUpdate the @amines entry in components.jsonto send the key as a Bearer token. Keep your other configuration:
components.json
"registries": {
"@amines": {
"url": "https://ui.amines.fun/registry/{name}.json",
"headers": {
"Authorization": "Bearer ${AMINES_API_KEY}"
}
}
}Now install a Pro item with the CLI, or ask your connected agent:
Replace split-stack-photo with the exact item name shown in the Amines library. Your account must have access to that item.
Components and blocks are added as source files in your project. Use their generated paths, or ask your connected agent to place a block or page in the right part of your app.