# Poster

> A wall print of seeded flat art (shapes, color bands, a retro sunset, mountain peaks) with an optional caption and a slim or wide frame.

## Add it

```bash
npx @runek/cli add poster
```

Pulls `sign`, `@runek/core@^0.15.0`, `three@^0.184.0`.

## Use it

```tsx
import { Poster } from './runek/Poster'

<Poster position={[0, 0, 0]} seed={1} />
```

Or as a node in a world file ([worlds as data](https://runek.nullorder.org/docs/worlds-as-data.md)):

```json
{ "type": "Poster", "props": { "position": [0, 0, 0], "seed": 1 } }
```

## Props

| Prop | Type | Default | Description |
|---|---|---|---|
| `size` | `[number, number]` | `[0.5, 0.7]` | The print, [width, height] in units. |
| `art` | `"shapes" \| "bands" \| "sunset" \| "peaks"` |  | Seeded when unset. |
| `frame` | `"none" \| "thin" \| "wide"` |  | Seeded when unset. |
| `title` | `string` |  | A caption printed under the art. |
| `frameColor` | `color` |  | The frame; defaults to the palette's `woodDark`. |
| `paper` | `color` | `"#f4f1ea"` | The paper behind the art and the caption. |
| `ink` | `color` | `"#222222"` | The caption's ink. |
| `texture` | `Texture` (code only) |  | JSX only: a texture the app owns, printed in place of the seeded art. The poster loads nothing itself. |
| `position` | `[x, y, z]` | `[0, 0, 0]` | Position [x, y, z] in units (1 unit = 1 m, Y-up). |
| `rotation` | `[x, y, z]` | `[0, 0, 0]` | Euler rotation [x, y, z] in radians. |
| `seed` | `number` | `1` | Seed for the deterministic variation: same seed, same result. |

## Registry manifest

[https://runek.nullorder.org/r/components/poster.json](https://runek.nullorder.org/r/components/poster.json): Self-contained JSON: inlined source plus resolved dependencies, exactly what `runek add poster` fetches.

Browse the whole catalog in the **[gallery →](https://runek.nullorder.org/gallery)**.
