一键导入
el-link
Link component for text hyperlinks. Invoke when user needs to create text links, navigation links, or styled anchor elements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Link component for text hyperlinks. Invoke when user needs to create text links, navigation links, or styled anchor elements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Element Plus Skills Library - A comprehensive skill library for AI agents to understand and utilize Element Plus UI components. Invoke when user needs to work with Element Plus components, theming, i18n, dark mode, or design specifications.
Affix component for fixing elements to a specific visible area. Invoke when user needs to create sticky navigation, fixed headers, or elements that remain visible while scrolling.
Alert component for displaying important alert messages. Invoke when user needs to show non-dismissible notifications, status messages, or important information that requires user attention.
Anchor component for anchor navigation. Invoke when user needs to create page anchor navigation, table of contents, or quick navigation to specific sections.
Autocomplete component for input suggestions. Invoke when user needs to provide input suggestions, autocomplete functionality, or search-as-you-type features.
Avatar component for representing people or objects with images, icons, or characters. Invoke when user needs to display user avatars, profile pictures, or entity representations.
| name | el-link |
| description | Link component for text hyperlinks. Invoke when user needs to create text links, navigation links, or styled anchor elements. |
| metadata | {"author":"jiaiyan","version":"1.0.0"} |
Link component provides text hyperlinks with various styles and icon support.
<template>
<el-link href="https://element-plus.org" target="_blank">default</el-link>
<el-link type="primary">primary</el-link>
<el-link type="success">success</el-link>
<el-link type="warning">warning</el-link>
<el-link type="danger">danger</el-link>
<el-link type="info">info</el-link>
</template>
<template>
<el-link disabled>disabled</el-link>
</template>
<template>
<el-link underline="always">Always Underlined</el-link>
<el-link underline="hover">Underline on Hover</el-link>
<el-link underline="never">Never Underlined</el-link>
</template>
<template>
<el-link :icon="Link">Icon Link</el-link>
<el-link>
<el-icon class="el-icon--left"><Link /></el-icon>
Icon on Left
</el-link>
</template>
<script setup>
import { Link } from '@element-plus/icons-vue'
</script>
| Name | Description | Type | Default |
|---|---|---|---|
| type | Type | 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'default' | 'default' |
| underline | When underlines appear | 'always' | 'hover' | 'never' | 'hover' |
| disabled | Whether disabled | boolean | false |
| href | Native href attribute | string | — |
| target | Native target attribute | '_blank' | '_parent' | '_self' | '_top' | '_self' |
| icon | Icon component | string | Component | — |
| Name | Description |
|---|---|
| default | Customize default content |
| icon | Customize icon component |
underline="hover" for better UXtarget="_blank" for external links