iPhone SwiftUI layouts
Explore SwiftUI APIs, components, and modifiers with interactive iPhone previews, Swift code, and Apple documentation. Compare every available orientation, appearance, and design.
201elements
Color
UIKit Fill Colors
Explore UIKit Fill Colors on iPhone in portrait, with SwiftUI code and Apple API documentation.
SwiftUI code
HStack {
smallRect
.foregroundStyle(Color(.systemFill))
smallRect
.foregroundStyle(Color(.secondarySystemFill))
smallRect
.foregroundStyle(Color(.tertiarySystemFill))
smallRect
.foregroundStyle(Color(.quaternarySystemFill))
}Compatibility
iOS 13.0+ iPadOS 13.0+ visionOS 1.0+
Tags
Found an issue or have a suggestion?
All variants
Every available iPhone screenshot for UIKit Fill Colors.