Crypto Markets
3 variantsMarket tables and trading panels for exchanges and wallets, with live-ticking prices, depth, and fills.
Live price table
A sortable market table where prices roll and flash as they tick, with category tabs, a watchlist, seven-day sparklines, and market totals.
Markets
Live- Total market cap
- $1.90T
- 24h volume
- $102.49B
- Top gainer
- PEPE+8.15%
| 1 | BitcoinBTC | $60,284.10+1.12% | +1.12% | $1.19T | $28.40B | ||
|---|---|---|---|---|---|---|---|
| 2 | EthereumETH | $2,412.38+2.41% | +2.41% | $290.40B | $14.20B | ||
| 3 | TetherUSDT | $1.00−0.02% | −0.02% | $118.60B | $41.70B | ||
| 4 | BNBBNB | $548.20−0.84% | −0.84% | $80.10B | $1.60B | ||
| 5 | SolanaSOL | $142.65+4.37% | +4.37% | $66.80B | $3.90B | ||
| 6 | USD CoinUSDC | $1.00+0.01% | +0.01% | $35.20B | $6.80B | ||
| 7 | XRPXRP | $0.5421−1.66% | −1.66% | $30.70B | $1.20B | ||
| 8 | DogecoinDOGE | $0.1123+6.82% | +6.82% | $16.40B | $1.40B | ||
| 9 | ToncoinTON | $5.42−2.94% | −2.94% | $13.80B | $310.00M | ||
| 10 | CardanoADA | $0.3618+0.73% | +0.73% | $12.90B | $290.00M | ||
| 11 | AvalancheAVAX | $26.14+3.18% | +3.18% | $10.60B | $420.00M | ||
| 12 | ChainlinkLINK | $14.82−1.84% | −1.84% | $9.00B | $380.00M | ||
| 13 | DaiDAI | $1.00+0.00% | +0.00% | $5.30B | $210.00M | ||
| 14 | UniswapUNI | $8.41+3.67% | +3.67% | $5.00B | $160.00M | ||
| 15 | PepePEPE | $0.0000094+8.15% | +8.15% | $3.90B | $820.00M | ||
| 16 | PolygonPOL | $0.38−0.54% | −0.54% | $2.90B | $120.00M | ||
| 17 | ArbitrumARB | $0.62−2.37% | −2.37% | $2.50B | $240.00M | ||
| 18 | AaveAAVE | $162.50−0.92% | −0.92% | $2.40B | $190.00M | ||
| 19 | OptimismOP | $1.48+4.06% | +4.06% | $1.90B | $150.00M |
Sample prices with a simulated live feed. Not market data.
"use client";
import { CryptoMarkets } from "@/components/premium/crypto-markets";
export function CryptoMarketsPreview() {
return <CryptoMarkets />;
}
Source code is locked
Get access to install premium components and view the full source.
Open dashboardInstall
API Reference
Every prop is optional unless marked required. Data, copy, and colors default to the sample content.
CryptoMarkets8 props
coinsCoins to list, ranked by market cap. Defaults to the sample coins.
readonly MarketCoin[]categoriesCategory filter tabs shown after All and Watchlist.
readonly MarketCategory[]labelsText overrides merged over the default English labels.
Partial<MarketsLabels>liveSimulate a live price feed. Turn off when streaming real prices into `coins`.
booleanDefault
truedefaultWatchlistCoin ids starred on first render; later changes are ignored.
readonly string[]Default
["btc", "eth", "sol"]onWatchlistChangeCalled with the starred coin ids after a coin is starred or unstarred.
((ids: string[]) => void)onSelectCoinMakes coin names clickable, for example to open a detail page.
((coin: MarketCoin) => void)classNameClasses merged onto the root element.
string
Types3 types
The object types these props take, field by field.
MarketCategory2 fields
idRequiredCategory id that coins list in their `categories`.
stringlabelRequiredTab text for the category filter.
string
MarketCoin9 fields
idRequiredUnique coin id, used for the watchlist and row keys.
stringsymbolRequiredTicker shown under the name and used to pick the token icon.
stringnameRequiredFull coin name shown in the row.
stringpriceRequiredCurrent price in USD.
numberchange24hRequired24h change in percent.
numbermarketCapRequiredMarket cap in USD; also sets the rank order.
numbervolume24hRequiredTrading volume over the last 24 hours in USD.
numbersparklineRequiredSeven days of prices, oldest first.
readonly number[]categoriesRequiredCategory ids from `MarketCategory`.
readonly string[]
MarketsLabels19 fields
titleRequiredSection heading, also the section's accessible name.
stringsearchRequiredSearch field placeholder and accessible label.
stringwatchlistRequiredWatchlist tab text, followed by the starred coin count.
stringallRequiredTab text for showing every coin.
stringrankRequiredRank column header.
stringnameRequiredName column header.
stringpriceRequiredPrice column header.
stringchange24hRequired24h change column header.
stringlast7DaysRequiredSparkline column header.
stringmarketCapRequiredMarket cap column header.
stringvolume24hRequired24h volume column header.
stringtotalMarketCapRequiredSummary label for the summed market cap.
stringtotalVolumeRequiredSummary label for the summed 24h volume.
stringtopGainerRequiredSummary label for the coin with the highest 24h change.
stringaddToWatchlistRequiredStar button label for a coin not yet watched, given its name.
(name: string) => stringremoveFromWatchlistRequiredStar button label for a watched coin, given its name.
(name: string) => stringemptyWatchlistRequiredShown when the watchlist tab has no coins.
stringemptySearchRequiredShown when no coins match the search or category.
stringliveRequiredBadge next to the title while the simulated feed runs.
string
Order book
A live order book with springing depth bars, price grouping, a cumulative hover that shows the average fill price, and a trade tape that slides in new fills.
ETH/USDC
+2.41% · 24h
2,412.4
- 24h high
- 2,448.9
- 24h low
- 2,351.2
- 24h volume
- 184,220 ETH
Order book
| Price USDC | Size ETH | Cumulative total ETH |
|---|---|---|
| 2,413.4 | 0.624 | 36.534 |
| 2,413.3 | 1.746 | 35.911 |
| 2,413.2 | 1.292 | 34.164 |
| 2,413.1 | 0.774 | 32.872 |
| 2,413.0 | 3.066 | 32.098 |
| 2,412.9 | 3.846 | 29.032 |
| 2,412.8 | 2.076 | 25.187 |
| 2,412.7 | 2.437 | 23.110 |
| 2,412.6 | 15.532 | 20.673 |
| 2,412.5 | 2.706 | 5.140 |
| 2,412.4 | 2.435 | 2.435 |
| Price USDC | Size ETH | Cumulative total ETH |
|---|---|---|
| 2,412.3 | 0.357 | 0.357 |
| 2,412.2 | 1.425 | 1.782 |
| 2,412.1 | 1.014 | 2.796 |
| 2,412.0 | 4.340 | 7.137 |
| 2,411.9 | 0.090 | 7.227 |
| 2,411.8 | 0.989 | 8.216 |
| 2,411.7 | 4.485 | 12.701 |
| 2,411.6 | 2.175 | 14.876 |
| 2,411.5 | 0.299 | 15.175 |
| 2,411.4 | 2.998 | 18.173 |
| 2,411.3 | 52.779 | 70.952 |
Hover a level to see the cost of filling up to it
Simulated order flow for demonstration. Not market data.
"use client";
import { CryptoOrderBook } from "@/components/premium/crypto-markets";
export function CryptoOrderBookPreview() {
return <CryptoOrderBook />;
}
Source code is locked
Get access to install premium components and view the full source.
Open dashboardInstall
API Reference
Every prop is optional unless marked required. Data, copy, and colors default to the sample content.
CryptoOrderBook5 props
pairMarket pair and 24h stats shown in the header. Defaults to ETH/USDC.
OrderBookPairlabelsText overrides merged over the default English labels.
Partial<OrderBookLabels>rowsLevels shown on each side.
numberDefault
11liveSimulate order flow.
booleanDefault
trueclassNameClasses merged onto the root element.
string
Types2 types
The object types these props take, field by field.
OrderBookPair9 fields
baseRequiredBase asset symbol, such as ETH; sizes are in this unit.
stringquoteRequiredQuote asset symbol, such as USDC; prices are in this unit.
stringtickSizeRequiredSmallest price step of the raw book.
numberpriceRequiredStarting best ask, in quote units.
numberchange24hRequired24h change in percent, shown under the pair name.
numberhigh24hRequiredHighest price in the last 24 hours, in quote units.
numberlow24hRequiredLowest price in the last 24 hours, in quote units.
numbervolume24hRequired24h volume in base units.
numbersizeDecimalsRequiredFraction digits for base-unit sizes.
number
OrderBookLabels14 fields
bookRequiredOrder book heading, tab text, and accessible name.
stringtradesRequiredTrades panel heading and tab text.
stringpriceRequiredTrades table price header, given the quote symbol.
(quote: string) => stringsizeRequiredTrades table size header, given the base symbol.
(base: string) => stringtotalRequiredCurrently unused; the book header shows its own English text.
(base: string) => stringtimeRequiredTrades table time column header.
stringspreadRequiredCurrently unused; the spread row shows its own English text.
stringgroupingRequiredAccessible label for the price grouping tabs.
stringhighRequiredHeader stat label for the 24h high.
stringlowRequiredHeader stat label for the 24h low.
stringvolumeRequiredHeader stat label for the 24h volume.
stringaverageRequiredCurrently unused; the depth summary shows its own English text.
stringsumRequiredCurrently unused; the depth summary shows its own English text.
stringhoverHintRequiredFooter hint shown until a book level is hovered.
string
Perps positions
Open perpetual positions with live marks, rolling PnL and ROE, a liquidation cushion that changes color as risk grows, and a dialog to close, change leverage, or set take-profit and stop-loss.
Positions3
- Equity
- $18,442.18
- Unrealized PnL
- +$21.43
- Margin used$6,811.68 · 37%
Available $11,630.50
BTC-PERPLong 10x
TP 69,500.0 · SL —
Size
0.420 BTC
$27,317.85
Entry / Mark
64,180.0
65,042.5
PnL (ROE)
+$362.25
+13.44%
Liq. price
58,082.9
10.7%ETH-PERPShort 5x
TP — · SL 2,590.00
Size
6.50 ETH
$15,807.03
Entry / Mark
2,468.40
2,431.85
PnL (ROE)
+$237.58
+7.40%
Liq. price
2,949.74
21.3%SOL-PERPLong 20x
TP — · SL —
Size
120.0 SOL
$17,565.60
Entry / Mark
151.20
146.38
PnL (ROE)
−$578.40
−63.76%
Liq. price
144.40
1.4%
Simulated positions and prices for demonstration. No orders are placed.
"use client";
import { PerpsPositions } from "@/components/premium/crypto-markets";
export function PerpsPositionsPreview() {
return <PerpsPositions />;
}
Source code is locked
Get access to install premium components and view the full source.
Open dashboardInstall
API Reference
Every prop is optional unless marked required. Data, copy, and colors default to the sample content.
PerpsPositions8 props
positionsOpen positions on first render; later changes are ignored.
readonly PerpPosition[]balanceCollateral balance in USD before unrealized PnL.
numberDefault
18420.75labelsText overrides merged over the default English labels.
Partial<PerpsLabels>liveSimulate mark prices. Turn off when streaming marks through `positions`.
booleanDefault
trueonClosePositionEach callback may return a promise; the UI waits for it to resolve.
((request: ClosePositionRequest) => unknown)onSetLeverageCalled with the position id and new leverage when leverage is confirmed.
((request: LeverageRequest) => unknown)onSetTpSlCalled with the position id and new TP and SL prices when saved.
((request: TpSlRequest) => unknown)classNameClasses merged onto the root element.
string
Types5 types
The object types these props take, field by field.
PerpPosition11 fields
idRequiredUnique position id, passed back in every request.
stringsymbolRequiredBase asset, such as "BTC".
stringsideRequiredLong or short, which sets the PnL and liquidation direction.
PerpSidesizeRequiredSize in base units.
numberentryRequiredAverage entry price in USD.
numberleverageRequiredLeverage multiple, from 1 to 50 in the manage dialog.
numbermarkRequiredMark price; the live feed updates it.
numberpriceDecimalsRequiredDecimals for prices of this market.
numbersizeDecimalsRequiredDecimals shown for this position's size.
numbertakeProfitTake-profit trigger price, or null when not set.
number | nullstopLossStop-loss trigger price, or null when not set.
number | null
ClosePositionRequest3 fields
idRequiredId of the position to close.
stringfractionRequiredShare of the position to close, from 0 to 1.
numberpriceRequiredMark price at the moment the close was confirmed.
number
LeverageRequest2 fields
idRequiredId of the position to change.
stringleverageRequiredNew leverage multiple chosen in the dialog.
number
TpSlRequest3 fields
idRequiredId of the position to change.
stringtakeProfitRequiredNew take-profit price, or null to clear it.
number | nullstopLossRequiredNew stop-loss price, or null to clear it.
number | null
PerpsLabels21 fields
titleRequiredSection heading and accessible name.
stringequityRequiredAccount bar label for balance plus unrealized PnL.
stringunrealizedRequiredAccount bar label for total open PnL.
stringmarginUsedRequiredAccount bar label for margin locked in open positions.
stringavailableRequiredLabel for equity left after margin used.
stringmarketRequiredMarket column header.
stringsizeRequiredSize column header and row label.
stringentryMarkRequiredEntry and mark price column header.
stringpnlRequiredPnL and return on equity column header.
stringliquidationRequiredLiquidation price column header and leverage panel label.
stringmanageRequiredRow button text that opens the manage dialog.
stringlongRequiredSide text for long positions in rows and the dialog title.
stringshortRequiredSide text for short positions in rows and the dialog title.
stringemptyRequiredShown when no positions are open.
stringcloseRequiredManage dialog tab for closing a position.
stringleverageRequiredManage dialog tab and slider label for leverage.
stringtpslRequiredManage dialog tab for take-profit and stop-loss.
stringtakeProfitRequiredTake-profit field label.
stringstopLossRequiredStop-loss field label.
stringconfirmingRequiredButton text while a change waits for confirmation.
stringdisclaimerRequiredSmall note shown under the positions table.
string