Docs · Components
CelestographPlaceholder
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.
| Prop | Type | Default |
|---|---|---|
shape | Shape | "wide" |
fromAny 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 | — |
seed | number | — |
paletteColor anchors; geometry still varies deterministically with the seed. | Palette | DEFAULT_PALETTE |
chemistryOverrides palette entirely with a literal chemistry. | "emulsion" | "amber" | — |
plate | PlatePreset | "developed" |
knobs | Partial<PlateKnobs> | — |
resolutionPaint 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 | — |