AAPL, Apple Inc.
OpenApple Inc.
$189.43
Up +2.14(+1.14%)
As of 4:00 PM ET
components/ui/stock-card.tsx
A watchlist quote. The price is the one thing sized to be read from across the room, the change carries a direction icon and a sign as well as a colour, and the sparkline is measured against the previous close rather than drawn as decoration. Every figure uses tabular numerals so a column of cards lines up, the session is always stated so a stale quote cannot pass for a live one, and the whole card renders on the server with no client JavaScript.
Apple Inc.
$189.43
Up +2.14(+1.14%)
As of 4:00 PM ET
Direction is an icon and a signed number before it is a colour, and the dashed rule inside the sparkline is the previous close, so the trace says how far above or below it sat all session.
Microsoft Corporation
$399.62
Down -12.43(-3.02%)
As of 6:42 PM ET
An unchanged quote gets a neutral reading rather than a token green, because nothing happened.
The Coca-Cola Company
$61.88
Unchanged +0.00(+0.00%)
As of Fri, 4:00 PM ET
A newly listed or thinly traded name keeps the chart's height and shows the baseline alone, so a grid of cards does not go ragged.
Reddit, Inc.
$46.12
Up +1.62(+3.64%)
As of 8:14 AM ET
The name truncates on one line so it can never push the price or the chart out of position.
Taiwan Semiconductor Manufacturing Company Limited
$142.07
Up +3.17(+2.28%)
As of 11:32 AM ET
Price formatting follows the currency and locale it is given rather than assuming dollars.
ASML Holding N.V.
712,40 €
Down -13,40(-1,85 %)
As of 17:35 CET
The skeleton holds the real card's height, including the chart, so a watchlist does not jump when quotes arrive.
The density case: four quotes in a grid, with the prices on one axis and the changes on another, so a red row is findable without reading a single label.
Apple Inc.
$189.43
Up +2.14(+1.14%)
As of 4:00 PM ET
Microsoft Corporation
$399.62
Down -12.43(-3.02%)
As of 4:00 PM ET
The Coca-Cola Company
$61.88
Unchanged +0.00(+0.00%)
As of 4:00 PM ET
Taiwan Semiconductor Manufacturing Company Limited
$142.07
Up +3.17(+2.28%)
As of 4:00 PM ET