logoAnt Design X

DesignDevelopmentComponentsX MarkdownX SDKPlayground
  • Introduction
  • Overview
  • Common
    • Bubble
    • Conversations
    • Notification
  • Confirmation
    • Sources
    • Think
    • ThoughtChain
  • Wake
    • Welcome
    • Prompts
  • Express
    • Attachments
    • Sender
    • Suggestion
  • Feedback
    • Actions
    • FileCard
  • Others
    • XProvider

Welcome

Clearly convey the scope of intent and expected functionality to the user.
Importimport { Welcome } from "@ant-design/x";
Sourcecomponents/welcome
Docs
Edit this page...
Changelog
loading

When To Use

Use the appropriate welcome recommendation component to effectively reduce the user's learning cost and allow the user to quickly understand and start smoothly.

Examples

API

WelcomeProps

PropertyDescriptionTypeDefaultVersion
classNamesCustom style class names for different parts of each prompt item.Record<'icon' | 'title' | 'description' | 'extra', string>--
descriptionThe description displayed in the prompt list.React.ReactNode--
extraThe extra operation displayed at the end of the prompt list.React.ReactNode--
iconThe icon displayed on the front side of the prompt list.React.ReactNode--
rootClassNameThe style class name of the root node.string--
stylesCustom styles for different parts of each prompt item.Record<'icon' | 'title' | 'description' | 'extra', React.CSSProperties>--
titleThe title displayed at the top of the prompt list.React.ReactNode--
variantVariant type.'filled' | 'borderless''filled'-

Semantic DOM

Design Token

Global TokenHow to use?
Basic

Basic usage.

CodeSandbox Icon
codepen icon
External Link Icon
expand codeexpand code
Variant

Set the style variant through the variant property.

CodeSandbox Icon
codepen icon
External Link Icon
expand codeexpand code
Background

Customize part of the style.

CodeSandbox Icon
codepen icon
External Link Icon
expand codeexpand code
icon

Hello, I'm Ant Design X

Base on Ant Design, AGI product interface solution, create a better intelligent vision~
icon

Hello, I'm Ant Design X

Base on Ant Design, AGI product interface solution, create a better intelligent vision~
icon

Hello, I'm Ant Design X

Base on Ant Design, AGI product interface solution, create a better intelligent vision~
icon

Hello, I'm Ant Design X

Base on Ant Design, AGI product interface solution, create a better intelligent vision~
icon

Hello, I'm Ant Design X

Base on Ant Design, AGI product interface solution, create a better intelligent vision~
  • root
    Root
  • icon
    Icon container
  • title
    Title container
  • description
    Description container
  • extra
    Extra content