1.0.5 • Published 3 years ago

react-native-iconsax v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

React Native Iconsax

npm NPM npm

Iconsax is Perfectly balanced, 24px grid-based open source icons for React Native, Perfect for buttons, logos and nav/tab bars. Easy to extend, style and integrate into your project.

iconsax.png

Icons converted from iconsax svg files into React native components and compatible with react-native-svg package.

Icons list available at iconsax.

Installation

  1. Make sure your have installed react-native-svg.
  2. npm i react-native-iconsax

Usage

import { ShoppingBag } from "react-native-iconsax";

const App = () => {
  return <ShoppingBag />;
};

Whole package can be included as below:

import * as Icon from "react-native-iconsax";

const App = () => {
  return <Icon.ShoppingBag />;
};

Icons can be customized by svg props:

<ShoppingBag stroke="#292D32" strokeWidth={1.5} width={24} height={24} />

Props

All Svg property and the following props supported:

PropDescriptionDefault
widthWidth of the icon.24
heightHeight of the icon.24
strokeThe stroke prop refers to the color."#292D32"
strokeWidthThe strokeWidth prop specifies the width of the outline on the icon.1.5
strokeLinecapStrokeLinecap defines different types of endings to an open path."round"
strokeLinejoinPaths should appear at the point where two lines are joined together."round"
fillThe fill prop refers to the color inside the icon."none"
viewBoxDefines the position and dimension, in user space, of an SVG viewport."0 0 24 24"

Authors

Ehsan Bigzad

License

This project is licenced under the MIT License.

All bundled icons are copyright to their respective author iconsax and mostly under MIT.

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago