2.10.0
中文
Skip to content

Welcome ​

Clearly convey to users the achievable scope and expected functions.

When to use ​

Using appropriate welcome recommendation components can effectively reduce the user's learning cost, allowing them to quickly understand and get started smoothly.

Examples ​

Basic ​

icon

Hello, I'm Ant Design X

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

Basic usage.

Variant ​

icon

Hello, I'm Ant Design X

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

Sets style variants through the variant property.

Custom background ​

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~
Custom background

Customize some styles.

API ​

WelcomeProps ​

PropDescriptionTypeDefaultVersion
classNamesCustom style class names, used for various parts.Record<SemanticType, string>--
descriptionDescription content.VNodestring(() => VNode
extraAdditional operation content.VNodestring(() => VNode
iconIcon, supports passing a URL string to automatically render as an image.VNodestring(() => VNode
rootClassNameRoot class name。string--
stylesCustom styles, used for various parts.Record<SemanticType, CSSProperties>--
titleTitle content.VNodestring(() => VNode
variantVariant type.'filled''borderless''filled'

Welcome Slots ​

SlotDescription
titleTitle content
descriptionDescription content
iconIcon content
extraExtra operation content

SemanticType ​

NameDescription
rootRoot node
titleTitle
descriptionDescription
iconIcon
extraExtra content

Semantic DOM ​

icon

Hello, I'm Ant Design X

Base on Ant Design, AGI product interface solution, create a better intelligent vision~
  • root
    根节点
  • icon
    图标容器
  • title
    标题容器
  • description
    描述容器
  • extra
    额外内容

Design Token ​

This component has no custom Component Token. Customize it through global Design Tokens.

Contributors ​

Contributors

Loading contributors…