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
Hello, I'm Ant Design X
Base on Ant Design, AGI product interface solution, create a better intelligent vision~Variant
Hello, I'm Ant Design X
Custom background
Hello, I'm Ant Design X
Base on Ant Design, AGI product interface solution, create a better intelligent vision~Hello, I'm Ant Design X
Base on Ant Design, AGI product interface solution, create a better intelligent vision~API
WelcomeProps
| Prop | Description | Type | Default | Version |
|---|---|---|---|---|
| classNames | Custom style class names, used for various parts. | Record<SemanticType, string> | - | - |
| description | Description content. | VNode | string | (() => VNode |
| extra | Additional operation content. | VNode | string | (() => VNode |
| icon | Icon, supports passing a URL string to automatically render as an image. | VNode | string | (() => VNode |
| rootClassName | Root class name。 | string | - | - |
| styles | Custom styles, used for various parts. | Record<SemanticType, CSSProperties> | - | - |
| title | Title content. | VNode | string | (() => VNode |
| variant | Variant type. | 'filled' | 'borderless' | 'filled' |
Welcome Slots
| Slot | Description |
|---|---|
| title | Title content |
| description | Description content |
| icon | Icon content |
| extra | Extra operation content |
SemanticType
| Name | Description |
|---|---|
| root | Root node |
| title | Title |
| description | Description |
| icon | Icon |
| extra | Extra content |
Semantic DOM
Hello, I'm Ant Design X
root
根节点icon
图标容器title
标题容器description
描述容器extra
额外内容
Design Token
This component has no custom Component Token. Customize it through global Design Tokens.
Contributors
Contributors
Loading contributors…
