Augeo AI Docs
Augeo Design SystemComponents

MomentCard

One moment someone received, as a card that shows who sent it, what it is and whether it is still sealed.

MomentCard

MomentCard lists one moment in an inbox or on a home page, and the whole card opens it. A sealed card with a badge is the exception. It shows the badge blurred, because the badge is what the reveal shows, and only its claim button opens the moment. The host writes the sender line, so a moment from the company says so and never pretends to come from a person.

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-border-brand-subtle
  • --augds-border-default
  • --augds-color-alpha-white-20
  • --augds-foreground-brand-readable
  • --augds-foreground-on-brand
  • --augds-foreground-primary
  • --augds-foreground-quaternary
  • --augds-foreground-secondary
  • --augds-foreground-tertiary
  • --augds-interaction-focus-ring
  • --augds-radius-primitive-16
  • --augds-radius-primitive-20
  • --augds-shadow-0-5
  • --augds-shadow-1
  • --augds-shadow-2
  • --augds-surface-page
  • --augds-surface-sunken-2
  • --augds-surface-surface-1

Source

  • src/components/ui/moment-card/moment-card.tsx
  • src/components/ui/moment-card/moment-mark.tsx