type-alias / @typed/ui/Composite

Orientation

Supported composite movement axes.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Directional movement
Since
1.0.0

Import

import type { Orientation } from "@typed/ui/Composite";

Signatures

export type Orientation = "horizontal" | "vertical" | "both";

Why

The public model lets custom composites reuse Composite’s deterministic policy without copying an internal shape.

Ownership and lifetime

This declaration is data or schema metadata and acquires no resources.

Example

Import with import type { Orientation } from "@typed/ui/Composite"; Extend the Composite.makeState runnable setup. Choose an axis policy explicitly: const orientation: Orientation = "horizontal".

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source