Custom avatars for your next Svelte project.
Put a face to your name.
Shows what's currently being edited, before saving.
How to access:
avatarStore.previewSvgDataUrl
avatarStore.previewBgClass
avatarStore.previewConfig.username
avatarStore.previewConfig.colorName
avatarStore.previewConfig.lastModified
Shows the last saved version.
(persisted in localStorage)
How to access:
avatarStore.svgDataUrl
avatarStore.bgClass
avatarStore.config?.username
avatarStore.config?.colorName
avatarStore.config?.lastModified
Primary JSON string for the avatar's settings. This serialized data is the main shared datapoint that drives the editor, previews and history.
{ "version": 1, "username": "", "items": { "face": 14, "nose": 5, "mouth": 7, "eyes": 5, "eyebrows": 1, "glasses": 0, "hair": 7, "accessories": 0, "details": 0, "beard": 0 }, "colorName": "blue", "lastModified": "2025-05-14T09:59:07.234Z" }