Auto sell card
The coin page's Auto sell section: off, on with progress to the target, sold, and expired.
Auto sellOn
Now $0.0142 to go
You will get
Price target
Expires
Specs
Every value is a token from Foundations. The names match Figma and the Flutter file.
Card
bg/raised, 16 padding (inset/card), 12 gap (gap/stack), radius 20Rows
48 tall detail rows, no gaps between them
Progress
6 tall,
bg/control track, text/primary fillBadge
On / Sold in success, Expired neutral; On carries a live dot with a ring every 2.4s
States
content crossfades: out in 100ms, in over 240ms with a 6pt rise; the header row keeps its 48 height so nothing jumps
Progress fill
a soft spring to where the price stands
Usage
Do
- Show facts as rows, one Edit for changes.
- Say what happened to the coins when it ends.
Don't
- Don't make the rows tappable controls.
- Don't celebrate an expired order.
Accessibility
- The progress bar has a text equivalent ("+43% to go").
- Focus: a 2px
focus/ring2px outside the shape, for keyboard and switch control only. Targets are 44pt or more.