Container

A general component-owned surface and content container.

A general component-owned surface and content container.

Public API

  • FContainer

Example

FContainer(
    appearance: .elevated,
    alignment: .left
) {
    VStack(alignment: .leading) {
        Text("Summary")
        Text("Inspectable content")
    }
}

Source

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