Skip to content

Svavatar is a Svelte component wrapping Dicebear's Avatars library.

License

Notifications You must be signed in to change notification settings

mattnaus/svavatar

Repository files navigation

Svavatar

Svavatar

Svavatar is a Svelte component wrapping Dicebear's Avatars

  • "Code" and "Avataaars" avatars not included because of compatibility issues (feel free to pull!)
  • All options are available and kept in the same format as the original package

How to use?

  • Import the component in your application
    • import {Svavatar} from 'svavatar'
  • Use the component like any Svelte component and pass the mandatory type parameter, a seed and options as separate, individual parameters. Example:
    • <Svavatar type="human" mood="happy" seed="tako"/>
      or
    • <Svavatar type="initials" bold={true} seed="John Doe"/>

Type of Avatars

type male female human identicon initials bottts jdenticon gridy
PREVIEW male female human identicon initials bottts jdenticon gridy

More Info

For more information about the different types of avatars and their individual parameters, visit Dicebear's Avatars

About

Svavatar is a Svelte component wrapping Dicebear's Avatars library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published