Skip to content

Label

A Label is a static piece of text that people can read, but not edit.

Component preview

Summary

Properties

View all inherited from BaseComponent

View all inherited from TextLabel

Methods

View all inherited from TextLabel

Events

View all inherited from TextLabel

Types

type LabelProperties = TextLabel

type Label = BaseComponent & Components & FormProperties

Function Signature

function(self, properties: LabelProperties): Label

Example

local label = row:Right():Label({
    Text = "Label"
})

print(label:IsA("TextLabel")) --> true
print(label.ClassName) --> "TextLabel"
print(label.Type) --> "Label"