Installation
Add production-ready Solana primitives directly to your codebase. You own the code.
1. Add via shadcn CLI
Install any Oxygen component directly into your project:
npx shadcn add oxygen/solana-swap-card2. Peer Dependencies
Ensure you have the standard Solana wallet and web3 libraries installed:
npm i @solana/web3.js @solana/wallet-adapter-react @solana/wallet-adapter-react-ui3. Import & Render
Once added, import the component directly from your local components directory:
import { SolanaSwapCard } from "@/components/oxygen/solana-swap-card";
export default function Swap() {
return <SolanaSwapCard />;
}