import { initials } from "../lib/format"; type AvatarProps = { label: string; seed?: string; size?: "small" | "medium" | "large"; }; function tone(seed: string): number { let hash = 0; for (const character of seed) { hash = (hash * 31 + character.codePointAt(0)!) >>> 0; } return hash % 5; } export function Avatar({ label, seed = label, size = "medium" }: AvatarProps) { return ( ); }