1.0.11 • Published 1 year ago

@404-software/fontawesome v1.0.11

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

🎨 React Native Font Awesome 6 Icons

import { WormSolid } from '@404-software/fontawesome'

export const Icon = () => <WormSolid />

Credits

This package is a fork of react-native-iconic by Fernando Rojo.

Overview

  • 😎 Free, beautiful icons
  • 🔥 Customizable with react-native-svg props
  • 🌲 Tree-shaken components
  • 🤖 TypeScript support
  • 📈 JS-only (+ works with Expo)

Installation

yarn add @404-software/fontawesome react-native-svg

Usage

Each icon is exported as its own component with an adjusted name.

For example, to use the angle-down solid variant icon, import AngleDownSolid:

import { AngleDownSolid } from '@404-software/fontawesome'

You can also import * as FontAwesome:

import * as FontAwesome from '@404-software/fontawesome'

export const Icon = () => <FontAwesome.AngleDownSolid />

For a full directory of components, see the FontAwesome website.

Custom color

<AngleDownSolid color="black" />

Custom size

<AngleDownSolid height={30} width={30} />

Props

Each icon component accepts all the props from react-native-svg's Svg component. Reference their docs.

How it works

This library uses react-native-svg. The components are generated by svgr. I downloaded all the free icons from fontawesome.com and ran a script to codegen the files from there.

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

2 years ago

1.1.0

2 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

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

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago