Installation
Install using the CLI
To install Batua using the shadcn
CLI, use the add
command followed by the URL of the registry item.
pnpm
pnpm dlx shadcn@latest add https://batua.sh/install
What gets installed?
The installation will add the following to your project:
- Batua component - The main wallet component
- Required dependencies - All necessary packages for smart account functionality
- Type definitions - TypeScript support out of the box
- Styling - Tailwind CSS classes that match your theme
Prerequisites
Before installing Batua, make sure you have:
- React 18+ - Batua is built for modern React
- shadcn/ui setup - Your project should have shadcn/ui configured
- Tailwind CSS - Required for styling
- TypeScript (recommended) - For the best development experience
Next Steps
After installation, you'll need to:
Continue to the Usage guide for detailed setup instructions.