Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

Heading

Heading(props): Element

A title drawn over the world, with Text’s white and dark edge.

Parameter Type Description
props { children: ReactNode; className?: string; level: 1 | 2 | 3 | 4; } -
props.children ReactNode -
props.className? string An override that shows in the diff.
props.level 1 | 2 | 3 | 4 The outline level: h1 to h4, each with its own size and weight.

Element