npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kpsuperplane/boring-avatars

v0.1.6

Published

Deterministic Marble and Beam SVG avatars with expressive, state-driven React animation.

Readme

@kpsuperplane/boring-avatars

A small React library for deterministic, SVG-based avatars with expressive activity states. It includes two variants: the fluid Marble and the spherical Beam character.

This project is a fork of boringdesigners/boring-avatars. The original design, deterministic identity approach, and MIT license are retained with attribution.

Install

npm install @kpsuperplane/boring-avatars

React 18 or newer is required.

Usage

import Avatar, { type AvatarActivity } from '@kpsuperplane/boring-avatars';

const activity: AvatarActivity = 'listening';

<Avatar
  name="Maria Mitchell"
  variant="marble"
  activity={activity}
  audioLevel={0.62}
  size={96}
  title
/>;

The default export is also available as the named Avatar export. AvatarProps, AvatarVariant, and AvatarActivity are exported as public types.

API

| Prop | Type | Default | Description | | --- | --- | --- | --- | | name | string | "Clara Barton" | Seeds colors, geometry, and motion timing. | | colors | string[] | built-in five-color palette | Palette used to build the identity. | | variant | "marble" \| "beam" | "marble" | Selects the avatar design. | | activity | "idle" \| "listening" \| "thinking" \| "speaking" | "idle" | Selects the representative pose and motion language. | | audioLevel | number | deterministic fallback pulse | Drives listening and speaking response; finite values are clamped to 0…1, and non-finite values become 0. | | animated | boolean | true | Enables motion when the operating system does not request reduced motion. | | size | number \| string | "40px" | Sets SVG width and height. | | square | boolean | false | Uses a square outer viewport. Beam's inner body shape is chosen independently from its seed. | | title | boolean | false | Adds an SVG <title> containing the name. |

Standard SVG props are passed through to the root element.

import { Avatar } from '@kpsuperplane/boring-avatars';

<Avatar
  name="Grace Hopper"
  colors={['#fb6900', '#f63700', '#004853', '#007e80', '#00b9bd']}
  variant="beam"
  activity="speaking"
  className="voice-avatar"
  aria-label="Grace Hopper is speaking"
/>;

Motion and accessibility

Animation starts in the browser after hydration and uses finite, seeded events instead of continuously repeating character loops. Beam coordinates short blinks, attentive gestures, and hysteresis-based mouth shapes; Marble advects area-preserving dye contours through a shared seeded vortex field, with a separate pressure contour for speech. State changes settle before activity-specific motion begins.

Animations are cancelled when state changes or the component unmounts. animated={false} and prefers-reduced-motion: reduce leave each activity in a stable representative pose. The library does not request microphone access; applications can provide their own normalized audio level when appropriate.

The same name and palette always produce the same base SVG and seeded animation cadence.

For repeatable profiling, the playground accepts instances, variant, activity, animated, and name query parameters. For example, ?instances=24&variant=beam&activity=idle renders twenty-four identical 96px Beam avatars.

License

MIT. The original copyright notice from boringdesigners is preserved in LICENSE.