Skip to content

Price timeline ​

A price card with a history line and a projected range, based on the Bencho "Betting on the chart" reference (https://x.com/benchodev/status/2106607746091258199). Asset name, solid line for past prices, grey line for the projected part, big price with the change, range tabs (1D, 1W, 1M, 1Y, YTD, All), hover crosshair with tooltip, and an optional position panel. Themed for PulseFit. Demo data is generated and fictitious; the position panel sends nothing.

Price card ​

ETH (SOL)
$1,833.94
+0.65%

Without the position panel ​

BTC (USD)
$1,833.94
+0.65%

Anatomy and props ​

PartNotes
Asset headerName and round logo
LineSolid up/down color for history, grey for the projected range
HoverCrosshair, tooltip with price and change from the start of the range; the big price follows it
KeyboardA hidden range slider moves the same readout; arrow keys step one point
Ranges1D, 1W, 1M, 1Y, YTD, All; each regenerates the series
Position panelBet type, direction, stake and one confirm button (prop position)
MotionLine redraw respects prefers-reduced-motion