Skip to content

PageSection

A PageSection separates content in a page into digestible sections via a Title stack. For example, a settings page might have:

  • Appearance
  • Input
  • Effects

Component preview

Summary

Properties

Property Type Description
Title string? The section's title.
Subtitle string? The section's sub-title. If left nil, the subtitle will be non-visible.

View all inherited from BaseComponent

View all inherited from Frame

Methods

View all inherited from Frame

Events

View all inherited from Frame

Types

type PageSectionProperties = Frame & {
    Title: string?,
    Subtitle: string?,
}

type PageSection = BaseComponent & Components & PageSectionProperties

Function Signature

function(self, properties: PageSectionProperties): PageSection

Example

local pageSection = tab:PageSection({
    Title = "Effects",
    Subtitle = "These effects may be resource intensive across different systems.",
})

print(pageSection:IsA("Frame")) --> true
print(pageSection.ClassName) --> "Frame"
print(pageSection.Type) --> "PageSection"