Skip to content

Welcome Component ๐ŸŒน โ€‹

Introduction โ€‹

The Welcome component can clearly communicate to users the scope of achievable intentions and expected functionality. Using appropriate welcome recommendation components can effectively reduce user learning costs and help users quickly understand and get started smoothly.

Code Examples โ€‹

Basic Usage โ€‹

Welcome to Element Plus X ๐Ÿฆ‹
Welcome to Element Plus X ๐Ÿ’–
This is description information ~
Welcome to Element Plus X ๐Ÿ’–
This is description information ~
Welcome to Element Plus X ๐Ÿ’–
Subtitle
This is description information ~

Quickly create a welcome card

Style Variants โ€‹

Welcome to Element Plus X ๐Ÿฆ‹
Welcome to Element Plus X ๐Ÿ’–
This is description information ~
Welcome to Element Plus X ๐Ÿ’–
This is description information ~
Welcome to Element Plus X ๐Ÿ’–
Subtitle
This is description information ~

Quickly switch between multiple styles, currently only two: filled and borderless. Default is filled.

Background Color โ€‹

Switch layout:
Welcome to Element Plus X ๐Ÿฆ‹
Welcome to Element Plus X ๐Ÿ’–
This is description information ~
Welcome to Element Plus X ๐Ÿ’–
This is description information ~
Welcome to Element Plus X ๐Ÿ’–
Subtitle
This is description information ~
Welcome to Element Plus X ๐Ÿฆ‹
Welcome to Element Plus X ๐Ÿ’–
This is description information ~
Welcome to Element Plus X ๐Ÿ’–
This is description information ~
Welcome to Element Plus X ๐Ÿ’–
Subtitle
This is description information ~

Set layout method ltr from left to right and rtl from right to left, more properties to control styles, see property list for details.

Custom Image โ€‹

Welcome to Element Plus X ๐Ÿ’–
A Vue 3 recreation of ant-design-x. Later will integrate AI workflow orchestration components and multi-functional md rendering components, providing the Vue development community with a useful AI component library

Convenient to replace custom images

Custom Subtitle โ€‹

Welcome to Element Plus X ๐Ÿ’–
A Vue 3 recreation of ant-design-x. Later will integrate AI workflow orchestration components and multi-functional md rendering components, providing the Vue development community with a useful AI component library

Convenient to define custom subtitle content

Properties โ€‹

Property NameTypeRequiredDefaultDescription
variantstringNofilledComponent style variant (filled/borderless)
directionstringNoltrText direction (ltr/rtl)
iconstringNo-Icon URL address
titlestringNo-Main title text content
extrastringNo-Subtitle text content
descriptionstringNo-Description text content
classNamestringNo-Custom class name for outer container
rootClassNamestringNo-Custom class name for root node
classNamesobjectNo-Custom class names for each part ({ icon, title, extra, description })
styleobjectNo-Custom styles for outer container
stylesobjectNo-Custom styles for each part ({ icon, title, extra, description })
prefixClsstringNowelcomeComponent class name prefix

Slots โ€‹

Slot NameParametersTypeDescription
#image-SlotCustom welcome image content
#extra-SlotCustom subtitle content

Features โ€‹

  1. Currently supports filled (filled) and borderless (borderless) two visual styles through the variant property
  2. Supports direction property to control text direction
  3. Can control styles through classNames and styles with fine granularity
  4. Supports image and extra slots to extend custom content