@flipxyz/react-native-boring-avatars
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

react-native-boring-avatars

React Native implementation of boring avatars

Installation

yarn add boring-avatars

Usage

// ...
import Avatar from 'react-native-boring-avatars';

<Avatar
  size={40}
  name="Sacagawea"
  variant="pixel"
  colors={['#92A1C6', '#146A7C', '#F0AB3D', '#C271B4', '#C20D90']}
/>;

Caveat

The marble variant is not suppported. This is because react-native-svg does not support the SVG filter attribute which the marble variant depends on. 🙁 Check here for more details on react-native-svg on this issue.

License

MIT

Package Sidebar

Install

npm i @flipxyz/react-native-boring-avatars

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

107 kB

Total Files

30

Last publish

Collaborators

  • jayrenteria
  • floriangoussin
  • dbeja
  • scottsweb
  • ericdebelak
  • bheau