Docs · Components

CelestographPlaceholder

pnpm dlx shadcn add @01orbital/celestograph-placeholderclient componentpreview

This one paints to a canvas, so it needs the browser and carries "use client" — import it from a client component, or from a server component as a leaf.

Props

8 props. Read straight from packages/core/src/components/celestograph/celestograph-placeholder.tsx, so this page cannot drift from the types.

PropTypeDefault
shapeShape"wide"
from

Any string — a name, a title, a slug. The same string always develops the same plate, so a list of placeholders is stable across reloads and users.

string
seednumber
palette

Color anchors; geometry still varies deterministically with the seed.

PaletteDEFAULT_PALETTE
chemistry

Overrides palette entirely with a literal chemistry.

"emulsion" | "amber"
platePlatePreset"developed"
knobsPartial<PlateKnobs>
resolution

Paint width in pixels. Omitted, the plate is painted at the size of the box it lands in (device pixels, capped), so it is never stretched.

number