Skip to content
On this page

KIcon

Thanks to unocss capabilities, any Iconify icon can be used in ikun-ui.

Use any icons with Pure CSS for ikun-ui.

For more icon information view @unocss/preset-icons

Install

bash
pnpm add @ikun-ui/icon
pnpm add @ikun-ui/icon
bash
yarn add @ikun-ui/icon
yarn add @ikun-ui/icon
bash
npm install @ikun-ui/icon
npm install @ikun-ui/icon

Icon Collection

Get all icons, try on icones

Basic usage

Use the icon attribute to define Icon. In addition,the color attribute can be used to set the color of the icon.

Icon Props

NameTypeDefaultDescription
iconstring-The class name of the icon, following the unocss standard
btnbooleanfalseicon as button
widthstring24pxIcon's width
heightstring24pxIcon's height
colorstring-Icon's color
clsstring-Additional class
attrsany{}Additional attributes

MIT Licensed