@ant-design/icons-react
<h1 align="center"> Ant Design Icons for React </h1>
Last updated 7 years ago by zombiej .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @ant-design/icons-react 
SYNC missed versions from official npm registry.

Ant Design Icons for React

NPM version NPM downloads

Install

yarn add @ant-design/icons
yarn add @ant-design/icons-react

Basic Usage

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

import { AntDesignOutline, DashboardOutline, TwitterOutline } from '@ant-design/icons';
import AntdIcon from '@ant-design/icons-react';
AntdIcon.add(AntDesignOutline, DashboardOutline);

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

<AntdIcon type="ant-design-o" />
<AntdIcon type="dashboard-o" />
<AntdIcon type={TwitterOutline} />

Component Interface

interface AntdIconProps {
  type: string | IconDefinition;
  className?: string;
  onClick?: React.MouseEventHandler<SVGSVGElement>;
  style?: React.CSSProperties;
}

Current Tags

  • 2.0.1                                ...           latest (7 years ago)

24 Versions

  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.1.5                                ...           7 years ago
  • 1.1.4                                ...           7 years ago
  • 1.1.2                                ...           8 years ago
  • 1.1.1                                ...           8 years ago
  • 1.1.0                                ...           8 years ago
  • 1.0.0                                ...           8 years ago
  • 1.0.0-alpha.7                                ...           8 years ago
  • 1.0.0-alpha.6                                ...           8 years ago
  • 1.0.0-alpha.5                                ...           8 years ago
  • 1.0.0-alpha.4                                ...           8 years ago
  • 1.0.0-alpha.3                                ...           8 years ago
  • 1.0.0-alpha.2                                ...           8 years ago
  • 1.0.0-alpha.1                                ...           8 years ago
  • 0.3.0-beta.3                                ...           8 years ago
  • 0.3.0-beta.2                                ...           8 years ago
  • 0.3.0-beta.1                                ...           8 years ago
  • 0.2.0-beta.1                                ...           8 years ago
  • 0.1.2-alpha.3                                ...           8 years ago
  • 0.1.2-alpha.2                                ...           8 years ago
  • 0.1.2-alpha.1                                ...           8 years ago
  • 0.1.0-alpha.6                                ...           8 years ago
  • 0.1.0-alpha.5                                ...           8 years ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 1
Last Month 1
Dependencies (2)
Dev Dependencies (19)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |