@igloo-ui/color
v0.5.4
Published
A color can be used in place of an avatar. The background color and text color are customizable.
Downloads
42
Readme
Color
A color can be used in place of an avatar. The background color and text color are customizable.
Installation
To install @igloo-ui/color
in your project, you will need to run the following command using npm:
npm install @igloo-ui/color
If you prefer Yarn, use the following command instead:
yarn add @igloo-ui/color
Usage
Then to use the component in your code just import it!
import Color from '@igloo-ui/color';
<Color
color="#FFC3BA"
textColor="#6B2837"
size="large"
name="Awesome Possum Team"
/>;