Accordion
Sections of information that are expandable and collapsable.

Properties
Name | Type | Description |
---|---|---|
Width | Fusion.UsedAs<UDim>? | The width of the accordion. (Defaults to UDim.new(1, 0) ). |
Sections | {{ Title: string, Content: string }} | The sections for the accordion. |
ExpandedSection | Fusion.UsedAs<number?>? | The index of the section in the Sections array to be expanded. (Set to nil to have no section expanded). |
Example
Scope:Accordion {
Width = UDim.new(1, 0),
Sections = {
{ Title = "Section One", Content = "I am Section One! Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor. incididunt ut labore et dolore magna aliqua Ut enim ad minim veniam quis." },
{ Title = "Section Two", Content = "I am Section Two! Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor. incididunt ut labore et dolore magna aliqua Ut enim ad minim veniam quis." },
{ Title = "Section Three", Content = "I am Section Three! Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor. incididunt ut labore et dolore magna aliqua Ut enim ad minim veniam quis." }
},
ExpandedSection = 2
}