Install with the shadcn CLI
Dot components install with the shadcn CLI you may already use. It copies the component into your project and installs its dependencies, so the code is yours to edit.
Set Up shadcn (Once per Project)
Skip this if your project already has a components.json. Otherwise run this in your project root and accept the defaults.
npx shadcn@latest initAdd a Free Component
Free components need no account. The file lands in components/dot and dependencies like framer-motion are installed for you. Every component page has its command under CLI.
npx shadcn@latest add https://bydot.co/r/blur-reveal-text.json# pnpm, yarn or bun work the same way:
pnpm dlx shadcn@latest add https://bydot.co/r/blur-reveal-text.json
yarn dlx shadcn@latest add https://bydot.co/r/blur-reveal-text.json
bunx --bun shadcn@latest add https://bydot.co/r/blur-reveal-text.jsonSet Up Pro Components (Once per Project)
Pro components need an active Pro plan and your own API token. Create one under Account → API tokens, then add it to .env.local (keep this file out of git):
DOT_API_TOKEN=dot_live_your_token_hereAdd the @dot registry to your components.json. shadcn reads the token from the environment, so it is never written into the file.
{
"registries": {
"@dot": {
"url": "https://bydot.co/r/{name}.json",
"headers": { "Authorization": "Bearer ${DOT_API_TOKEN}" }
}
}
}Now add any Pro component by name:
npx shadcn@latest add @dot/sticker-roll-preloaderWith the token set, free components work by name too, e.g. @dot/blur-reveal-text. If shadcn asks for environment variables, DOT_API_TOKEN isn't set. If it says you're not authorized, the token was revoked or your plan isn't Pro.
Install from Your AI Editor
Connect Dot MCP and ask your agent to find, customize and install components. It uses the same API token, so Pro access matches your plan.