Source: packages/assets/micah-theme/README.md
Avatar theme for Avatune using micah design assets.
npm install @avatune/micah-theme
yarn add @avatune/micah-theme
pnpm add @avatune/micah-theme
bun add @avatune/micah-theme
This theme is available for multiple frameworks: React, Vue, Svelte, and Vanilla JavaScript.
import { Avatar } from ' @avatune/react '
import theme from ' @avatune/micah-theme/react '
seed = " optional-seed-for-random-generation "
import { Avatar } from ' @avatune/vue '
import theme from ' @avatune/micah-theme/vue '
seed = " optional-seed-for-random-generation "
import { Avatar } from ' @avatune/svelte '
import theme from ' @avatune/micah-theme/svelte '
seed = " optional-seed-for-random-generation "
import { avatar } from ' @avatune/vanilla '
import theme from ' @avatune/micah-theme/vanilla '
const container = document . getElementById ( ' avatar-container ' )
seed: ' optional-seed-for-random-generation ' ,
container ?. appendChild (svg)
You can override specific avatar parts:
hair = " dannyPhantom " // Choose specific hair style
hairColor = " #FF5733 " // Custom hair color
body = " collaredShirt " // Choose specific clothing
bodyColor = " #3498DB " // Custom clothing color
This theme uses Micah style SVG assets for creating customizable avatars. Assets include various options for hair, eyes, eyebrows, mouth, nose, ears, head shape, and body/clothing.
The assets are available in the @avatune/micah-assets package.
import { hair, eyes, mouth } from ' @avatune/micah-assets ' ;
import { HairShort, EyesBoring, MouthSmile } from ' @avatune/micah-assets/react ' ;
import { HairShort, EyesBoring, MouthSmile } from ' @avatune/micah-assets/svelte ' ;
import { HairShort, EyesBoring, MouthSmile } from ' @avatune/micah-assets/vue ' ;
Preview Filename hoop-ear-ring
stud-ear-ring
Preview Filename collared-shirt crew-shirt open-shirt
Preview Filename medium small
Preview Filename down eyelashes-down eyelashes-up up
Preview Filename
eyeshadow
round smiling
standard
Preview Filename beard scruff
Preview Filename round square
Preview Filename danny-phantom doug-funny fonze full mr-t pixie turban
Preview Filename frown laughing nervous pucker sad smile smirk surprised
Preview Filename curve pointed round
This theme package is licensed under MIT (see LICENSE.md ).
This project uses avatar design assets licensed under CC BY 4.0 .
Original designs by Micah Lanier .
Modifications were made to adapt them for composable SVG avatars.
For full details, see CREDITS.md .