Link

Text hyperlink

Basic

Basic text link

Disabled

Disabled state of link

Underline

Underline of link

Icon

Link with icon

TIP

Use the icon attribute to add icon. You can pass either string for the component name (registered in advance) or the component itself which is a SVG Vue component. Element Plus has provided a set of icon that you can find at icon

API

Attributes

NameDescriptionTypeDefault
typetypeenumdefault
underlinewhether the component has underlinebooleantrue
disabledwhether the component is disabledbooleanfalse
hrefsame as native hyperlink's hrefstring
targetsame as native hyperlink's targetenum_self
iconicon componentstring / Component

Slots

NameDescription
defaultcustomize default content
iconcustomize icon component

Source

ComponentDocs

Contributors