Description
blobatar generates deterministic geometric avatars, called blobatars, from any string. The same name, email, handle or id always produces the same picture, so a user, bot, team or repository can have a stable avatar without uploading an image. The core package has no dependencies and is about 4.4 KB gzipped. You pass a name, and the component draws the avatar. Adapters are published for React, Vue, Svelte 5 and newer, Solid and Preact, and the README says each adapter uses its own framework's JSX or component model. For React Native and Expo, the component uses react-native-svg, and two differences apply: the size prop is required, because React Native has no CSS fallback to size an unsized SVG, and there is no animate prop, because the idle motion is a stylesheet that React Native does not support. Expression works on all platforms. Remaining props pass through to the underlying element, so class names, alt text and styles behave as expected. On the web, the idle motion comes from a stylesheet called motion.css, a root class and a set of seeded custom properties. The project documents its design decisions in architecture decision records, one of which covers how the Svelte component is shipped as source. The README includes usage examples for each framework.…
Highlights
- Same string always gives the same avatar
- No dependencies, about 4.4 KB gzipped
- Adapters for React, Vue, Svelte, Solid and Preact
- React Native and Expo support
- Idle motion through motion.css on the web
- Extra props pass to the underlying element
Ratings & Reviews
No ratings yet
Be the first to rate blobatar.
People also visit

@ai-matrx/icons
The AI Matrx icon resolver: turn any icon NAME into a rendered component
blobatar FAQ
What is blobatar?
A generator of deterministic geometric avatars from any string, such as a username, email or id.
Which frameworks are supported?
React, Vue, Svelte 5 or newer, Solid, Preact, and React Native with Expo.
Why is size required on React Native?
React Native has no CSS to size an unsized SVG, so an avatar without a size would be blank. The README says the adapter does not set a default.
Can it animate on React Native?
No. The idle motion is a stylesheet, which React Native does not support, so the animate prop is not in the type.
Does the same name always give the same avatar?
Yes. The README says the same string always renders the same blobatar.
How big is the package?
The README says about 4.4 KB gzipped, with no dependencies.
What are the best blobatar alternatives?
Popular alternatives to blobatar include blobatar, react-avatar and @ai-matrx/icons. See all blobatar alternatives















