radk-cli
v0.3.2
Published
Add beautiful radk components to your app
Readme
radk-cli
CLI for adding radk components to your React project.
Usage
npx radk-cli init
npx radk-cli add [component]Commands
init
Set up radk in an existing project. Creates components.json and installs base dependencies (clsx, tailwind-merge, class-variance-authority).
npx radk-cli init
npx radk-cli init --yes # skip prompts, use defaultsadd
Copy one or more components into your project.
npx radk-cli add button
npx radk-cli add button card input
npx radk-cli add button --dry-run # preview without writing filesdiff
Show what has changed in a component since you last added it.
npx radk-cli diff buttonRequirements
- Node 18+
- A React project with Tailwind CSS
License
MIT
