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.

Color

UIKit Fill Colors

Explore UIKit Fill Colors on iPhone in portrait, with SwiftUI code and Apple API documentation.

HStack {
  smallRect
    .foregroundStyle(Color(.systemFill))
  smallRect
    .foregroundStyle(Color(.secondarySystemFill))
  smallRect
    .foregroundStyle(Color(.tertiarySystemFill))
  smallRect
    .foregroundStyle(Color(.quaternarySystemFill))
}
iOS 13.0+ iPadOS 13.0+ visionOS 1.0+

Every available iPhone screenshot for UIKit Fill Colors.

1 views