图标Icon Icon
24 视框内联 SVG 图标组件Inline SVG icon component on a 24 viewBox
实时示例Live example69
全部图标(从 vue/lib/icons.ts 直接提取,与组件渲染的是同一份 SVG 数据)。All icons, extracted straight from vue/lib/icons.ts — the same SVG data the component renders.
PropsProps3
| 名称Name | 类型Type | 必填Required | 默认值Default | 说明Notes |
|---|---|---|---|---|
name |
string |
是yes | — | |
size |
number |
否no | 18 |
|
stroke |
number |
否no | 1.6 |
依赖Dependencies
icons
源码Source
vue/ui/Icon.vue
在 GitHub 上查看View on GitHub ↗