Disclosure group

Expandable detail content with configurable initial state and chevron placement.

Expandable detail content with configurable initial state and chevron placement.

Public API

  • FDisclosureGroup
  • FDisclosureInitialState
  • FDisclosureChevronPlacement

Example

FDisclosureGroup(
    label: "Advanced settings",
    icon: "slider.horizontal.3",
    initialState: .collapsed,
    haptic: .light
) {
    SettingsDetails()
}

Source

This reference follows Sources/FreakUI/Components/Layout/FDisclosureGroup.swift. Component-specific configuration is documented under the public initializer, modifier, and supporting types in that source file.