Skip to content

API Type UILength

github-actions[bot] edited this page Nov 29, 2026 · 4 revisions

Type Alias: UILength

type UILength = number | string;

Defined in: src/engine/ui/components.ts:28

A length in UI pixels (a number or "120"), a percentage of the parent ("50%"), or "auto".

Clone this wiki locally