Card.Goal
A compact savings-goal card that groups a goal avatar, title, progress amounts, and a linear progress bar into a single elevated surface. Exposes four axes: goal title text, current and target amounts, and an optional boost indicator icon.
Overview
A compact savings-goal card that groups a goal avatar, title, progress amounts, and a linear progress bar into a single elevated surface. Exposes four axes: goal title text, current and target amounts, and an optional boost indicator icon.
Anatomy
- 1Container required
- 2Root required
- 3Container.Content required
- 4Visual required Avatar instance (type=initials, size=md, shape=circle). Shows goal emoji or initials.
- 5Container.Content required
- 6Container.Header required
- 7Label.Title required
- 8Icon optional Boost indicator icon. Visible only when hasBoostIndicator is true.
- 9Container.Amount required
- 10Label.AmountCurrent required
- 11Label.AmountSeparator required
- 12Label.AmountTarget required
- 13IconTrailing required Trailing chevron icon (IconWrapper, size=sm 16). Indicates the card is tappable.
- 14ProgressBar required Feedback / ProgressBar (orientation=horizontal, type=linear). 4pt tall, full width.
Measurements
Specs
Values resolved live from the token spine. Token names follow the active platform; each links to its page.
Properties
The component’s Figma API, the properties you set on an instance. Useful to designers in Figma and to engineers mapping it to code props.
Accessibility
Ensure a minimum 44 by 44pt tap target for any interactive instance, adding surrounding padding when the component itself is shorter. Keep text concise, and never rely on color alone to convey meaning; pair it with a label or an icon so the message survives for color-blind and low-vision users.
Reference: Apple Human Interface Guidelines and WCAG 2.5.5 Target Size.