Celestograph

Celestograph Avatar Base

A lightweight seeded avatar made of three CSS gradients and grain, with no canvas or engine. Four pinned palettes, warmth, tarn, delft and lichen, or anchors of your own.

The source comes with full access.

One payment of $149 ($49 for now) opens the source right here and lets the CLI install every paid component, with lifetime updates.

Installation

pnpm dlx shadcn add @01orbital/celestograph-avatar-base
npx shadcn add @01orbital/celestograph-avatar-base
yarn shadcn add @01orbital/celestograph-avatar-base
bunx --bun shadcn add @01orbital/celestograph-avatar-base

Part of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).

It lands at components/celestograph/celestograph-avatar-base.tsx, as source you own and edit.

Usage

import { CelestographAvatarBase } from "@/components/celestograph/celestograph-avatar-base"

const IDS = [
  "ada.lovelace",
  "bruno.latour",
  "chidi.anagonye",
  "dara.khosrowshahi",
]

// The id is the seed, so each one is captioned with it.
export default function CelestographAvatarBaseDemo() {
  return (
    <div className="flex w-full flex-wrap place-items-center justify-center gap-8 p-6">
      {IDS.map((id) => (
        <figure key={id} className="grid justify-items-center gap-2">
          <CelestographAvatarBase id={id} size={104} />
          <figcaption className="text-sm text-muted-foreground">
            {id}
          </figcaption>
        </figure>
      ))}
    </div>
  )
}

API reference

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: cn. The CLI installs them for you.

No other registry pieces.