iOS 16.4+iPadOS 16.4+
Pairs a caption with a form control.
Installation
Requires the design system foundation (tokens and theme).
Usage
The pairing is structural, not id-based like HTML's <label for="">. If the wrapped control has no visible text, set .accessibilityLabel(_:) on it.
Orientation
Two orientations, set via orientation:. Defaults to .vertical.
Custom styling
FLXFieldLabelStyle conforms to SwiftUI's native LabeledContentStyle. Override rendering for a subtree with any LabeledContentStyle via .flxFieldLabelStyle(_:):
API Reference
FLXFieldLabel
Orientation
For more information about FLXFieldLabel props, see the Apple documentation.





