A segmented pill toggle for switching between buy and sell actions in crypto trading interfaces.
Click either side to switch between Buy and Sell. The active side highlights with a contrasting fill.
npx shadcn add oxygen/Swap, Trade & Ordersimport { TradeTogglePill } from "@/components/ui/trade-toggle-pill"Click the code icon in the top-right corner to view the source code.
Oxygen UI provides composable primitives tailored for Solana applications, including account interfaces, token balance cards, transaction status states, and network metrics. Built for performance and seamless dApp integration.