MomentReveal
The sequence that opens a moment, one stage at a time, from the sealed card to the reward and the thank-you, in a framed stage over the page.
MomentReveal
MomentReveal plays the opening of one moment: the badge waits behind fluted glass until a slide clears it and lands, then the screens after it show why it was earned and what it paid, the sender's message, the badges to earn next and the rewards the points now reach. On a tablet or desktop it plays in a frame over the dimmed page. Pass the wide layout when the reward is a picker or an address form, because the stage is too narrow for their wide layouts. A phone always gets the whole screen. The host holds the stage and advances it. The reveal reports when a timed stage finishes its motion and never advances itself. Reduced motion swaps every movement for a fade and keeps the order. Each stage mounts afresh, so art handed to the badge's renderArt mounts again on every stage. A live 3D medal pays its start-up cost each time. The glass draws the badge once per flute behind FlutedGlass, so its art mounts many times while the glass stands. The host renders the page behind the reveal, because a reveal over an empty page dims nothing. inline drops the dialog's focus trap and scrim, so it suits a workbench and nothing a member uses.
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-sunken-2--augds-border-subtle--augds-color-alpha-black-20--augds-color-alpha-black-6--augds-color-alpha-white-10--augds-color-alpha-white-40--augds-color-monochrome-pure-white--augds-font-family-title--augds-font-size-2xl--augds-font-size-3xl--augds-foreground-brand--augds-foreground-brand-readable--augds-foreground-primary--augds-foreground-secondary--augds-foreground-tertiary--augds-interaction-focus-ring--augds-letter-spacing-tight--augds-line-height-relaxed--augds-motion-duration-fast--augds-radius-primitive-12--augds-radius-primitive-24--augds-radius-primitive-32--augds-radius-primitive-999--augds-shadow-1--augds-spacing-10--augds-spacing-16--augds-spacing-32--augds-spacing-40--augds-surface-page--augds-surface-sunken-1--augds-z-overlay
Source
src/components/ui/moment-reveal/badge-rays.tsxsrc/components/ui/moment-reveal/confetti-burst.tsxsrc/components/ui/moment-reveal/fluted-glass.tsxsrc/components/ui/moment-reveal/glass-reveal.tsxsrc/components/ui/moment-reveal/moment-reveal.tsxsrc/components/ui/moment-reveal/reveal-next.tsxsrc/components/ui/moment-reveal/slide-to-reveal.tsx