Layout
public struct Layout : Equatable, Hashable, Codable
extension Layout: Sendable
A named layout configuration containing one or more responsive layout breakpoints.
-
Name identifier for this layout (e.g.
"4-large","3-medium").Declaration
Swift
public var name: String -
Responsive layout variants for different screen widths.
Declaration
Swift
public var responsiveLayouts: [ResponsiveLayout] -
Declaration
Swift
public init( /** * Name identifier for this layout (e.g. `"4-large"`, `"3-medium"`). */name: String, /** * Responsive layout variants for different screen widths. */responsiveLayouts: [ResponsiveLayout])