game-icons.net, converted to typed react icon components
npm install game-icons-react
yarn add game-icons-react
bun add game-icons-react
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
import { Delapouite } from 'game-icons-react';
export function BlackSheep() {
return <Delapouite.Sheep size={24} color='#0e0e0e' />
}
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
)
this library is released under the MIT License. a local copy of which can by found in LICENSE
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.