Welcome

Welcome component is a specialized variant of Result component designed for welcome screens, onboarding flows, and introductory interfaces in Chat interfaces.

Example

Basic Usage
A simple welcome screen with image, title, and description:
Welcome to our platform
Get started with our amazing features and tools
View code
With Action Buttons
Add action buttons for user interaction:
Welcome to our platform
Get started with our amazing features and tools
Learn more about our bot
Introduce Coral to me
View code
Maximum Width Control
Control the maximum width of the content area:
Some very long title that would normally take up more space
This is a very long description that would normally span across a wider area, but is constrained by the maxWidth setting
Learn more about our bot
Introduce Coral to me
View code
Container Height and Positioning
Use height and offsetTop(margin-top) as using css attributes directly.
Full Screen Welcome
This welcome screen takes up the full viewport height
Get started
View code

Relevant components

API

Welcome
Prop nameTypeDefaultDescription
actionPropsHTMLAttributes<HTMLDivElement> & { as?: any; ref?: HTMLDivElement; }
asany
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
descriptionReactNode
descriptionPropsHTMLAttributes<HTMLParagraphElement> & { as?: any; ref?: HTMLParagraphElement; }
heightHeight<string | number>
imageReactNode | NextImgProps
imagePropsImgHTMLAttributes<HTMLImageElement> & { as?: any; ref?: HTMLImageElement; }
imageSizeHeight<string | number>
Will not applied if image is a ReactNode
maxWidthMaxWidth<string | number>
offsetTopMarginTop<string | number>
titleReactNode
titlePropsHTMLAttributes<HTMLDivElement> & { as?: any; ref?: HTMLDivElement; }
    Example
    Example
    Basic Usage
    Basic Usage
    With Action Buttons
    With Action Buttons
    Maximum Width Control
    Maximum Width Control
    Container Height and Positioning
    Container Height and Positioning
    Relevant components
    Relevant components
    API
    API
    Welcome
    Welcome
Coral is a thoroughly developed design system widely adopted by developers and designers for creating beautiful and user-friendly Sea internal products.

Copyright © 2018-2025 Sea Labs