ModulesTrade

Trade

Trade module — pilot ships OrderBookRow only. The full Figma Trade section (88:3262 and neighbours) is enormous: Trade Input (9 states), Trade Fields (6 order types), TP/SL, Order Book header, Depth Bg, Trade Graph (6 timeframes + Depth view), Last Trade List, Trade Info, Basic Trade (Buy/Sell + Line variants), Pair Switcher, Order Type Segmented, Basic Trade Button — each is its own module and will be added incrementally.

OrderBookRow

One bid/ask level in the order book. Source: Figma Tech/Trade/OrderBook/Row (88:3469). Covers the 10 Figma variants (Buy/Sell × Alternate × isAvailable × Show.Order) plus a depth fill.

Live preview

0.121,234,999
0.451,234,750
1.201,234,500
0.751,234,250
0.301,234,100
0.101,233,900
——

Tokens used

semantic.status.success / danger (price text + depth fill @20% opacity), semantic.text.focus / tertiary (amount / disabled states), semantic.level.level1 (alternate row background), spacing.sm (left padding), text.sm (row typography — 13/18 medium).

PairSwitcher

Trade pair display + tap-to-switch. Source: _Pair Switcher (88:3988).

OrderTypeSegmented

Buy / Sell selector with brand colors. Source: Order Type Segmented (88:3979).

BasicTradeButton

Large Buy / Sell CTA. Source: Basic Trade Button (88:3993).

TradeInput

Compact trade field (amount / price). Source: Trade Input (88:3268) — the 9 Figma variants (State × Left) collapse into state + leading slot.

BasicTrade

Compact mobile trade form. Source: Basic Trade (88:3940). Slot composition.

OrderBookHeader

Market state header above an order book. Source: Orderbook Header (88:3521) — Kripto/Hisse × Open/Closed + Regular User.

LastTradeItem

Row inside the last trades list. Source: Last Trade List (88:3886).

TradeInfo / TradeInfoItem

Info panel with label/value rows. Source: Trade Info (88:3907) + Trade Info Item (88:3903).

TradeInfoItem props:

TpSl

Take-Profit / Stop-Loss block. Source: Limit Order TP/SL (88:3443) + TP/SL Title (88:3455) — 2 states (Default / Active).

TradeFields

Preset field composition per order type. Source: Trade Fields (88:3376) — covers all 6 Figma variants.

Field composition per type

TypeFields
market1amount
market2amount, total
limitprice, amount, total
stopMarket1stopPrice, amount
stopMarket2stopPrice, amount, total
stopLimitstopPrice, limitPrice, amount, total

Still deferred

TradeGraph (6 timeframes + Depth view — plug the existing Chart primitive into a container with DateFilter + GraphHead), TradePageNav (use the existing Tabs primitive).