Skip to content

CalobHumble/game-icons-react

Repository files navigation

game-icons-react

game-icons.net, converted to typed react icon components

installation

npm

npm install game-icons-react

yarn

yarn add game-icons-react

bun

bun add game-icons-react

usage

properties

each icon has a color and size property for simple inline manipulation of the icons presentation. you can pass any react-native-svg prop as well

example

import { Delapouite } from 'game-icons-react';

export function BlackSheep() {
  return <Delapouite.Sheep size={24} color='#0e0e0e' />
}

a note on names

some of the original icon names start with a number. as you can not have a javascript variable start with a number, these names are swapped to have the number come last in the name. (e.g. 3d-glasses.svg becomes Glasses3d)

library license

this library is released under the MIT License. a local copy of which can by found in LICENSE

icon licensing

please see icons/license.txt for a list of icon designers included with this package. all icons are released under Creative Commons 3.0 BY or CC0. tt is heavliy encourged that you give credit to all authors, regardless of license, when using these icons.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published