Augeo AI Docs
Augeo Design SystemComponents

RewardChoice

A pick-one grid of reward items, with the picked item's size or colour options underneath.

RewardChoice

RewardChoice lets a recipient pick one item from a curated set, then its variant on every axis the item has. The grid and each axis are radio groups, so the arrow keys move the pick and one stop sits in the tab order. The host clears the variant when the item changes, because an axis from the old item may not exist on the new one.

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-sunken
  • --augds-border-brand
  • --augds-border-default
  • --augds-border-subtle
  • --augds-foreground-brand
  • --augds-foreground-primary
  • --augds-foreground-secondary
  • --augds-foreground-tertiary
  • --augds-interaction-focus-ring
  • --augds-radius-primitive-10
  • --augds-radius-primitive-16
  • --augds-surface-elevated
  • --augds-surface-page

Source

  • src/components/ui/reward-choice/reward-choice.tsx