WelcomeMessage
The assistant's opening greeting for the rewards chat welcome state, with a first-name slot and a no-name fallback.
WelcomeMessage
WelcomeMessage is the assistant's opening greeting in the rewards chat welcome state. It renders one paragraph with a first-name slot, and falls back to a greeting with no name when none arrives.
Hi Alex 👋 I'm here to help you find the best rewards and maximize your browsing experience.
Hi 👋 I'm here to help you find the best rewards and maximize your browsing experience.
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-foreground-primary
Source
src/components/ui/welcome-message/welcome-message.tsx