RecapEntryCard
An invitation to play a recap, as a card on the page or a modal over it, with the host's illustration, a title, one line of copy, a Play button and a close.
RecapEntryCard
RecapEntryCard invites a person to play their recap, either as a card on the page or as a modal over it. It never opens the story by itself. The host decides where it appears and what Play opens, because a recap must never take over a page. The close and Escape only call the host's onDismiss, so the modal stays open until the host passes open={false}.
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-border-subtle--augds-foreground-primary--augds-foreground-secondary--augds-radius-primitive-20--augds-shadow-1--augds-spacing-12--augds-spacing-20--augds-spacing-24--augds-spacing-32--augds-spacing-48--augds-spacing-64--augds-spacing-8--augds-surface-page--augds-surface-surface-1--augds-type-heading-sm-font-family--augds-type-heading-sm-font-size--augds-type-heading-sm-font-weight--augds-type-heading-sm-letter-spacing--augds-type-heading-sm-line-height
Source
src/components/ui/recap-entry-card/recap-entry-card.tsx