antd-omi-icons

Ant Design Icons for Omi

Usage no npm install needed!

<script type="module">
  import antdOmiIcons from 'https://cdn.skypack.dev/antd-omi-icons';
</script>

README

Ant Design Icons for Omi

NPM version NPM downloads

English | 简体中文

All Icons

https://w-xuefeng.github.io/antd-omi-icons/

Install with yarn (or npm)

yarn add antd-omi-icons --save

or

npm install antd-omi-icons --save

Basic Usage

First, you should add the icons that you need into the library.

import { WeElement, h, tag } from 'omi'
import 'antd-omi-icons/lib/es/icons/AccountBookFilled'

After that, you can use antd icons in your Omi components as simply as this:

<o-account-book-filled />

If you want to import the full amount of icons, you can do as follows