Guide 1 Docs 2 Reference 3

Function of Ui

ui.label

Words in the client's own letters, space to ~. Give a label whose words change a width.

ui.label(opts: { id: string?, text: string?, width: number?, align: LayoutAlign?, color: Ink?, bold: boolean? }) → LayoutNode

Parameters

opts{ id: string?, text: string?, width: number?, align: LayoutAlign?, color: Ink?, bold: boolean? }required

Returns

LayoutNode

Used in