Skip to content
Twentyfirst UIHalo

Goal Card

Life · GoalCard

View as Markdown

A goal with its progress toward a target, a due date, milestones and a note.

  • format shows value and target as a number (with unit), money or a percentage.
  • The bar is a progressbar with the value in words ("€3,100 of €5,000").
Emergency fundBy Jun 2027
62%
€3,100 of €5,000

€275 a month keeps you on track.

Run a half marathonBy Apr 2027
67%
14 km of 21 km
  • 5 km without a break
  • 10 km under an hour
  • 15 km long run
  • Race day

Props

GoalCard

PropTypeNotes
surface?Surface`"glass"`: translucent glass over a backdrop (`Ambient`, a photo, a map); `"solid"` opts out inside a glass `UIProvider`.
titlestringRequired
valuenumberRequired
targetnumberRequired
format?"number" | "money" | "percent"How to show value and target (default number).
unit?stringUnit after numbers ("km", "books").
currency?string
due?Date | string | number
icon?IconName
tint?Tint
milestones?{ label: string; done?: boolean }[]
note?ReactNodeA note under the progress ("€250 a month keeps you on track").
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.