1.0.9 • Published 4 months ago

@ckbab/react-native-icons v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

react-native-icons

A collection of beautiful React Native icons.

Installation

yarn add @ckbab/react-native-icons

This package depends on react-native-svg so you need to install it as well.

Usage

import Icon from "@ckbab/react-native-icons";

<Icon name="beer" />

<Icon code="beer" color="#009900" size={48} />

You can also define default icon props using the IconProvider:

import { IconProvider } from "@ckbab/react-native-icons";

<IconProvider borderColor="#000" color="#ffcc00" size={24}>
  /* Rest of your code */
</IconProvider>;

As shown above you can pass borderColor, color and size as default props.

Properties

NameTypeDefault value
borderColorstring""
colorstring#cc00ff
namestring""
sizenumber16
styleStyleSheet{}

If borderColor is not explicitly defined the border color will be based on the color prop.

Available icons

  • arrow-down
  • arrow-left
  • arrow-right
  • arrow-up
  • beer
  • bus
  • calendar
  • cards
  • chat
  • check
  • check-circle
  • chevron-down
  • chevron-left
  • chevron-right
  • chevron-up
  • cog
  • cross
  • cross-circle
  • email
  • fist-bump
  • football
  • globe
  • hotel
  • info-circle
  • lock
  • menu
  • more
  • notification
  • phone
  • pin
  • plane
  • plus
  • pot
  • progress
  • search
  • shoe
  • stadium
  • star
  • stats
  • thumbs-down
  • thumbs-up
  • ticket
  • time
  • unlock
  • user
  • user-plus
  • walking
  • zigma
1.0.9

4 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago