An open API service indexing awesome lists of open source software.

https://github.com/rendinjast/iconsax-react

ICONSAX for React and React Native ✌️
https://github.com/rendinjast/iconsax-react

iconsax react react-native svg-icons

Last synced: 3 months ago
JSON representation

ICONSAX for React and React Native ✌️

Awesome Lists containing this project

README

          

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

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

### React Native

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

## Usage

```jsx
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 ;
};
```

You can configure Icons with inline props:

```jsx

```

## 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](./CONTRIBUTING.md)

## License

[MIT](./LICENSE)