Orb Avatar

A generated identity mark — a soft disc of blended colour — for an agent or a person with no photo. OrbStack overlaps several into a group.

tsx
import { OrbAvatar, OrbStack } from "@pestoui/core"

Hues

Five hues. The mark is decorative: put the name beside it rather than relying on the colour to identify anyone.

Sizes and a stack

Size comes from className; the default is 24px. OrbStack takes the hues to show, in order.

Props

PropTypeDefaultDescription
hue"violet" | "pink" | "orange" | "blue" | "teal""violet"On OrbAvatar. Which of the five discs to draw.
classNamestring—On OrbAvatar. Sets the size — size-6 unless overridden.
huesOrbHue[]all fiveOn OrbStack. One orb per entry, overlapped left to right.
orbClassNamestring—On OrbStack. Applied to each orb — size-7 with a card-coloured ring unless overridden.
OrbStack classNamestring—On OrbStack. On the row that holds the orbs.

Pesto UI · 117 documented components