RUI.next

Data-Display
Icon

Icon

Icon UI display.

Support the built-in check-circle, check, check-circle-o, cross-circle, cross, cross-circle-o, up, left, right, ellipsis, loading icon types, etc.

<Icon type="check" />
<Icon type="check" />

Example

Basic usage of Icon component.

Basic Icons

check-circle

check

check-circle-o

cross-circle

cross

cross-circle-o

up

down

left

right

search

ellipsis

ellipsis-circle

loading

exclamation-circle

info-circle

question-circle

voice

minus

plus

star

empty

Icon Size

xxs

xs

sm

md

lg

API

PropertiesDescriptionTypeDefault
typestring name of built-in iconstring
sizeicon size, optional value: xxs, xs, sm, md, lgstringmd
coloricon colorstring#000