Skip to content
项目

关于

ICONSAX for React and React Native ✌️

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

iconsax for React and React Native

1000 icons in 6 different styles, total 6000 icons | Perfectly balance | 24px grid-based

Browse icons at site



Installation

React

yarn add iconsax-reactjs
# or
npm i iconsax-reactjs

React Native

yarn add iconsax-react-nativejs react-native-svg
# or
npm i iconsax-react-nativejs react-native-svg

Usage

import React from 'react';
//import icon. for React Native import from 'iconsax-react-nativejs'
import { EmojiHappy } from 'iconsax-reactjs';

const Example = () => {
  // then use it as a normal React Component
  return <EmojiHappy />;
};

You can configure Icons with inline props:

<EmojiHappy color="#eee" variant="Bulk" size={54} />

Props

Prop Type Default Note
color string currentColor css color
size number string 24px size={24} or size="24"
variant Linear Outline TwoTone Bulk Broken Bold Linear icons styles

Contributing

See CONTRIBUTING.md

License

MIT

探索相关项目

加载中…