Label

Basic example

View.Label("Label")

Basic example with styling

View.Label(
    horizontalOptions = style.Position,
    verticalOptions = style.Position,
    backgroundColor = style.ViewColor,
    padding = style.Padding,
    text = "Label"
)

See also:

More examples

The Label view is used for displaying text, both single and multi-line. Labels can have text decorations, colored text, and use custom fonts (families, sizes, and options).

View.Label(text = "this is a label")