ZeroGravity UI

Scenesstable

Tessera

A tiled route transition: tiles cover the viewport, the route swaps, they retreat.

Home

phase: idle

The overlay is position: fixed in real use. It is held inside this frame so the docs stay usable.

Customize

Gridhow many tiles cover the viewport
4rows
6columns
sequence
Timingper-tile duration and the delay between tiles
420 msduration
380 msstagger
color

Usage

TSX
import { TesseraProvider } from "zerogravity"

<TesseraProvider>
    <App />
</TesseraProvider>

Generated from the controls above. Only props that differ from their defaults are shown.

Props

7 documented props on TesseraProvider
PropertyTypeDefaultDescription
rowsnumber4Rows. Range 1 to 12.
columnsnumber6Columns. Range 1 to 12.
sequence"random" | "row" | "column" | "reverse" | "center""random"Sequence.
durationnumber420Duration. Range 120 to 1600 ms.
staggernumber380Stagger. Range 0 to 900 ms.
colorstring"#0b0c11"Tile colour.
childrenReactNode—Your app. Navigation runs through useTessera().

Dependencies

0 external runtime dependencies

Ships with nothing but React.