UIKit Fill Colors

UIKit Fill Colors - iOS Light Mode Preview

Platform Compatibility

iOS 13.0+ iPadOS 13.0+ visionOS 1.0+

Tags

SwiftUI Code

Docs
HStack {
  smallRect
    .foregroundStyle(Color(.systemFill))
  smallRect
    .foregroundStyle(Color(.secondarySystemFill))
  smallRect
    .foregroundStyle(Color(.tertiarySystemFill))
  smallRect
    .foregroundStyle(Color(.quaternarySystemFill))
}

Found an issue or have a suggestion?

Created: May 29, 2025Updated: May 29, 2025