logoAnt Design X

Welcome

Clearly convey the scope of intent and expected functionality to the user.
Importimport{ Welcome }from"@ant-design/x";

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

icon

Hello, I'm Ant Design X

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

Basic usage.

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~

Set the style variant through the variant property.

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~

Customize part of the style.

codepen icon
External Link Icon
expand codeexpand code

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

icon

Hello, I'm Ant Design X

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

Design Token