Ticker tape
A React component in Beamline's Trading category.
A continuously scrolling row of symbols with price, change and mini trend; anyone can hold it: hover, keyboard focus or a tap.
Use it for
- A top strip across a trading app or dashboard.
Not for
- Anything the user must read reliably → watchlist.
Anatomy
- track (one row, and while it runs a copy that closes the loop)
- item (symbol, price, change, mini trend; the current market tinted with a rule under it)
Variants
- trend: on, off
States
- In RTL the row and its continuous loop follow reading direction; prices and signed changes remain isolated left-to-right figures.
- still (every item fits the room: a plain row, no copy, no fade edges, nothing running)
- scrolling (items outgrow the room)
- held (the pointer over it, keyboard focus in it, or on touch a tap until the next tap; choosing an item on touch holds it until a touch elsewhere)
- paused (off screen or a hidden tab)
- price moved (the price flashes once in its direction)
- current market (aria-current; tint + rule, never colour alone)
- static (reduced motion: a plain scrollable row)
Keyboard
- Items are buttons when onSelect is set; focusing one holds the tape; a press is acknowledged at once.
- Without onSelect a running tape is itself one tab stop, so a keyboard can hold it still (WCAG 2.2.2, pause what moves); a still tape has no stop.
Motion
Linear scroll at `speed` px/s, measured from the row itself so the speed is true at any item count; the loop joins without a step. It runs only while the items outgrow the room and the tape is on screen. A moved price flashes once (the shared flash); live data never travels on its own beyond the scroll. Reduced motion turns it into a static scrollable row.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items (required) | Ticker[] | — | |
speed | number | 40 | Scroll speed in pixels per second. |
onSelect | (symbol) => void | — | |
value | string | null | — | The market on screen, marked in the tape (aria-current). |
style / ref | CSSProperties / native Ref | — | style: Inline styles on the documented visual root; no overrides by default. ref: Receives the documented native target or imperative handle; omitted by default. |
classNames | TickerTapeClassNames | — | Classes for the named visual parts; no overrides by default. |
decimals | ((t: Ticker) => number) | — | |
trend | boolean | — | |
className | string | — | Classes on the documented visual root; no override by default. |
style | CSSProperties | — | Inline styles on the documented visual root; no overrides by default. |
ref | Ref<HTMLDivElement> | — | Receives the documented native target or imperative handle; omitted by default. |
Used in
Import
import { TickerTape } from "@beamline/ticker-tape";
Get it
Ticker tape is part of Beamline UI. Install the parts you need in your React app as compiled packages or editable source. Get Beamline · Connect your agent
More in Trading
- Price chart: Candles, line or area price chart with volume, OHLC legend and reference lines, built for live ticks.
- Market heatmap: Treemap of markets sized by weight and coloured by change, grouped by sector, with hatched no-data tiles.
- Order book: Asks, spread and bids with cumulative depth bars, grouping, change flashes and keyboard price picking.
- Options chain: Calls and puts for one expiry around a centre column of strikes: bid, ask, implied volatility, delta, volume and open interest, the money shaded in, a…
- Depth chart: Cumulative bid and ask depth as stepped areas around the mid, with hover readout.
- Watchlist: A selectable, sortable list of markets with mini trends, prices, changes and stars.
- Trades tape: Recent trades, newest first, with side glyphs, large-print marking and one-time arrival flashes.
- Order ticket: Buy/sell order entry with limit, market and stop types, % of balance, inline validation and a live cost summary.
- Swap form: Exchange one token for another: type what you pay (or Max), pick each token from a searchable list with balances, and the form quotes what you receive…
- Positions table: Open positions with live unrealised PnL, liquidation warnings and close actions.
- P&L calendar: A trader's month at a glance: every trading day's profit or loss in its cell, shaded deeper the bigger it was in the gain or loss colour and marked ▲ or…
- Price ticker: Symbol, last price with a directional flash, 24h change and stats.
- Funding countdown: Perpetual funding rate with who pays, and a live countdown ring to the next funding.