CLI
Use the shadcn CLI to add SoldevKit UI components to your project.
Installation
Add components to your project using the shadcn CLI:
npx shadcn@latest add https://soldevkit.com/r/(component-name).json
Providers
Install wallet providers for Solana integration:
# Wallet Provider (recommended)
npx shadcn@latest add https://soldevkit.com/r/provider.json
# Alternative Solana Provider
npx shadcn@latest add https://soldevkit.com/r/solana-provider.json
# Using pnpm
pnpm dlx shadcn@latest add https://soldevkit.com/r/provider.json
Hooks
Install hooks for Solana integration:
# Transaction Toast Hook
npx shadcn@latest add https://soldevkit.com/r/use-txn-toast.json
That's it! The CLI will automatically:
- Copy the component files to your project
- Install required dependencies
- Configure TypeScript types
How is this guide?
Introduction
Beautiful, accessible, and customizable React components for building modern Solana dApps at lightning speed.
Manual Installation
Install and configure SoldevKit UI manually.
Built by Aman Satyawani. The source code is available on GitHub.