Skip to content

Icon 图标

语义化的矢量图形。

按需引入

动态导入

NOTE

所有图标都将参与构建

旋转

风格

端点类型

拐点类型

API

DynamicIcon Props

继承自 HTMLAttributes<HTMLSpanElement>

属性名描述类型默认值
nameIconPark 名称。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-