# icon

Start from base library version 1.0.0. Please remaining backward compatible.

Icon. The unit of length of the component attribute defaults to px, Support incoming units from 2.4.0(rpx/px)。

attribute type Default value Required Introductions Minimum version
type string yes Type of icon, valid value: success, success_No_circle, info, warn, waiting, cancel, download, search, clear 1.0.0
size number/string 23 no The size of the icon 1.0.0
color string no Icon color, with css color 1.0.0

# sample code

Preview with Developer Tool