Coin card
A coin as a tile for a row of movers. The line gets the room; the price and the day's move sit under it.
Specs
Every value is a token from Foundations. The names match Figma and the Flutter file.
Card
168 wide,
bg/raised, radius 20 (radius/card) with 60% corner smoothing, 16 padding (inset/card), 12 between the partsHead
a 32 avatar and the name in
Moonshot/Body/Strong, 8 apart, the name cut with an ellipsisSparkline
136 by 44 with the soft fill
Foot
the price in Body/Strong with the day's change in Caption under it, 2 apart. Stacked, so a long price is never cut
Press
bg/control, 150msUsage
Do
- Use it in a row that scrolls sideways, 12 apart, with the next card showing at the edge.
- Show the price, not the holding: a card is for coins you may not own yet.
Don't
- Don't put a buy button on the card. A tap opens the coin; buying happens there.
- Don't mix cards and rows in one list.
Accessibility
- The whole card is one button named by the coin, its price and its change.
- The sparkline is hidden from a screen reader.
- Focus: a 2px
focus/ring2px outside the shape, for keyboard and switch control only. Targets are 44pt or more.