Augeo AI Docs
Augeo Design SystemComponents

BadgeRevealFlow

A dialog that unwraps a newly earned badge. The member swipes the hidden badge into view, and confetti, the points earned and a giver's note follow.

BadgeRevealFlow

BadgeRevealFlow unwraps a badge the member just earned. The member swipes, taps or presses Enter to reveal it, then sees the celebration, the points and an optional note from the giver. The host owns the step, so a host that opens at revealed skips the swipe. The reveal reports a press and never a claim, so the host records the claim itself.

Storybook

Loading

Props

Prop

Type

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-tint-1
  • --augds-background-inverse
  • --augds-background-sunken-2
  • --augds-border-subtle
  • --augds-color-amber-400
  • --augds-color-green-500
  • --augds-color-red-300
  • --augds-color-red-400
  • --augds-color-sky-500
  • --augds-color-violet-500
  • --augds-font-size-2xl
  • --augds-font-size-3xl
  • --augds-font-size-4xl
  • --augds-font-size-5xl
  • --augds-foreground-brand
  • --augds-foreground-brand-readable
  • --augds-foreground-on-brand
  • --augds-foreground-primary
  • --augds-foreground-secondary
  • --augds-foreground-tertiary
  • --augds-interaction-focus-ring
  • --augds-radius-primitive-24
  • --augds-radius-primitive-32
  • --augds-radius-primitive-999
  • --augds-shadow-0-5
  • --augds-shadow-1
  • --augds-spacing-12
  • --augds-spacing-16
  • --augds-spacing-20
  • --augds-spacing-24
  • --augds-spacing-32
  • --augds-spacing-4
  • --augds-spacing-40
  • --augds-spacing-48
  • --augds-surface-current
  • --augds-surface-page
  • --augds-type-heading-md-font-family
  • --augds-type-heading-md-font-weight
  • --augds-type-heading-md-letter-spacing
  • --augds-type-heading-md-line-height

Source

  • src/components/ui/badge-reveal-flow/badge-reveal-flow.tsx