Skip to content

mavend/octoheads

 
 

Repository files navigation

npm version

Octoheads

🐙 Generate octopus avatars

OctoHeads Demo

🍴 Fork of RobertBroersma/bigheads project

Getting Started

yarn add @mavend/octoheads

or

npm install @mavend/octoheads --save

then, in your app:

import { OctoHead } from '@mavend/octoheads'

const Custom = () => (
  <OctoHead
    accessory="shades"
    circleColor="blue"
    eyebrows="angry"
    eyes="wink"
    facialHair="mediumBeard"
    hair="short"
    hairColor="black"
    hat="none"
    hatColor="green"
    lashes="false"
    lipColor="purple"
    mask="true"
    faceMask="true"
    mouth="open"
    skinTone="brown"
  />
)

const RandomWithSeed = () => (
  <OctoHead seed="user-id" />
)

Contributing

Start storybook

yarn storybook

About

Easily create octopus characters for your projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

  • TypeScript 98.7%
  • JavaScript 1.3%