Perps and DEX trading UI components for React
The front end of a perps exchange or a DEX, as parts. An order book and a depth chart for the market, a leverage ticket that works out size, fees and the liquidation price, a limit and market order form, open positions with mark and liquidation price, a fills blotter and a time and sales tape. For spot and on chain trading there is a token swap, a cross chain bridge and a wallet drawer. None of them depends on a chain or wallet library.
12 components. Install any of them with npx shadcn@latest add @ssych/<name>
- BTC-USDPriceSizeTotal67,412.5Spread 1.0, 0.15 bps
Order Book
A crypto exchange order book with bids, asks and depth bars, reading the cumulative size and value up to any price level.
- BTC-USD
67,412.5
Spread 1.0
Depth Chart
A market depth chart for crypto exchanges showing bid and ask liquidity around the mid price, with a readout of size on each side.
- BTC-PERPEntry 67,412.50MarginUSDCLeverage10×Position size5,000.00 USDCLiquidation price−9.50%61,008.31
Leverage Ticket
A perpetual futures order ticket with margin, long or short and a leverage slider that updates position size, fees and the liquidation price.
- BTC-USDFree 25,000.00 USDYou pay16,866.85 USD
Order Ticket
A buy and sell order form for limit and market orders where price, amount and total stay in sync, for crypto exchanges and broker apps.
- Entry / markCloseBTCLong 5×0.85$57.3K64,120.0067,412.5051,616.6023.4% away+$2,798.63+25.7%ETHShort 4×12$40.7K3,482.403,391.154,335.5927.9% away+$1,095.00+10.5%DOGELong 10×150,000$18.7K0.11820.12470.107014.2% away+$975.00+55.0%AVAXShort 2×900$26.0K27.8428.9141.6244.0% away−$963.00−7.7%SOLLong 3×420$62.4K152.30148.62102.2931.2% away−$1,545.60−7.2%
Positions Table
An open positions table for futures and margin trading with entry, mark, liquidation price and unrealised P&L, plus hold to close.
- FillsTimeSymbolSideQtyPriceStatus
Fills Blotter
A live order fills blotter for brokers and trading desks, streaming executions that land as working and resolve to filled or rejected.
- AAPLTimePriceSize14:30:24227.9729014:30:23227.991514:30:20228.029514:30:18228.042614:30:17228.095014:30:14228.092,275block14:30:12228.073,610block14:30:11228.0224014:30:08228.0116314:30:06228.074914:30:05228.081314:30:02228.03101
Trade Tape
A live time and sales tape for trading terminals, streaming prints coloured by side and sized by volume, with block trades highlighted.
- Order value$4,463.00
Execution Controls
A hold to confirm order button for trading apps that shows the order as working, filled or rejected, with a timed undo.
- TradeYou pay$3,660.00Balance 4.1You receive3,660$3,660.00Balance 8,200Rate1 ETH = 3,050 USDCSlippageAuto, 0.5%
Swap Ticket
A token swap widget for DEX and crypto wallet apps, with an editable amount, a flip button, a token picker and slippage settings.
Cross Chain Swap
A cross chain bridge and swap widget for moving tokens between networks like Ethereum, Solana and Arbitrum, reversible in one click.
Wallet Drawer
A crypto wallet drawer with holdings, DeFi positions and activity, plus send, receive and settings views, for web3 apps.
Candlestick Chart
A candlestick chart with a volume histogram, a magnet crosshair and a live OHLC legend, for stock and crypto trading terminals.
Questions
- Can I use these for a Hyperliquid or other perps front end?
- Yes. They take plain props, so you wire them to the exchange API or SDK you build on. They carry no keys, signing or order routing: that stays in your code.
- Is there a full trading terminal?
- Yes, as a paid screen listed under Dashboards: an exchange terminal composed from these parts. The parts on this page are free.
Browse by type
Install one in a minute
Every component here installs with the shadcn CLI and lands in your project as source you own.
Read the install guide