Icon

Icon expresses its meaning in graphic form

Code demonstration

import { UIcon } from 'ungeui';

Icon resources

For icon resources, we have adopted the form of separation from the component library,you can hereselect the icon you want and introduce it into your project

Of course, we preset some commonly used icons and provide you with installation

yarn add -D @ungeui/icons

Import icon example:

import { IconClock } from @ungeui/icons

Icon size🔥

Icon color🌈

Icon example of @ungeui/icons👑

Props

Parameterdescriptiontypedefault value
sizecustom sizenumber | string30px
colorcustom colorstringundefind

Last Updated: