Skip to content

API Type UITextAlign

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

Type Alias: UITextAlign

type UITextAlign = "start" | "end" | "left" | "center" | "right" | "justify";

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

start and end follow the text direction of the current language (ADR 0356 §5): start is the left edge in left-to-right languages and the right edge in right-to-left ones.

Clone this wiki locally