Augeo AI Docs
Augeo Design SystemComponents

AllowanceMeter

What is left of a quarterly allowance to give, out of what was granted, with the reset date and an optional action.

AllowanceMeter

AllowanceMeter shows how much of a giving allowance is left and when it refills. At zero it swaps the number for the refill line and keeps the action, because a person can still recognise someone in words. The number stays in the primary ink rather than the brand colour a balance wears, so nobody mistakes what they may give for what they may spend.

Storybook

Loading

Props

Prop

Type

Also takes the attributes of the element it renders.

Tokens

Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.

  • --augds-background-brand
  • --augds-background-brand-subtle
  • --augds-background-sunken
  • --augds-border-subtle
  • --augds-foreground-brand-readable
  • --augds-foreground-primary
  • --augds-foreground-secondary
  • --augds-foreground-tertiary
  • --augds-radius-primitive-16
  • --augds-surface-elevated

Source

  • src/components/ui/allowance-meter/allowance-meter.tsx