💎 Donate SOL via Blink - Support SoldevKit UI
Soldevkit UI

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?

Built by Aman Satyawani. The source code is available on GitHub.