Skip to content

Icon 图标

语义化的矢量图形。

按需引入

动态导入

NOTE

所有图标都将参与构建

旋转

风格

端点类型

拐点类型

API

DynamicIcon Props

继承自 HTMLAttributes<HTMLSpanElement>

属性名描述类型默认值
name-string-
variant-'outlined' | 'filled' | 'two-tone' | 'multi-color'-
strokeWidth-number-
strokeLinecap-'butt' | 'round' | 'square'-
strokeLinejoin-'miter' | 'round' | 'bevel'-
fill-string | string[]-
spin-boolean-

Icon Props

继承自 HTMLAttributes<HTMLSpanElement>

属性名描述类型默认值
component-FC<IIconProps>-
variant-'outlined' | 'filled' | 'two-tone' | 'multi-color'-
strokeWidth-number-
strokeLinecap-'butt' | 'round' | 'square'-
strokeLinejoin-'miter' | 'round' | 'bevel'-
fill-string | string[]-
spin-boolean-