Interactive previews iPhone

UIKit Label Colors

UIKit Label Colors - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview

Platform Compatibility

iOS 13.0+ iPadOS 13.0+ tvOS 13.0+ visionOS 1.0+

Tags

SwiftUI Code

Docs
VStack {
  HStack {
    Text("Label")
      .foregroundStyle(Color(.label))
    Text("Secondary Label")
      .foregroundStyle(Color(.secondaryLabel))
  }
  HStack {
    Text("Tertiary Label")
      .foregroundStyle(Color(.tertiaryLabel))
    Text("Quaternary Label")
      .foregroundStyle(Color(.quaternaryLabel))
  }
}

Found an issue or have a suggestion?

Created: May 29, 2025Updated: May 29, 2025
Connect Wizard

Connect Wizard

Unlock insights App Store Connect doesn’t show you.

Get Started

More Color Components

View all
Color Opacity - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
style

Color Opacity

The Color opacity modifier

Color Gradient - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
modifier

Color Gradient

The Color gradient modifier

UIKit Separator Colors - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
type

UIKit Separator Colors

The UIKit separator colors that are also used in other components, such as the TextField

UIKit Content Background colors - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
type

UIKit Content Background colors

The UIKit colors that are also used in other components like in List and GroupBox

UIKit Text Colors - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
type

UIKit Text Colors

The UIKit text colors that are also used in other components, such as the TextField

UIKit Fill Colors - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
type

UIKit Fill Colors

Color Variants - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
modifier

Color Variants

HierarchicalShapeStyle, a shape style that maps to one of the numbered content styles

Semantic Colors - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview
type

Semantic Colors

Explore Other Components

Browse all
ArrangementView - iOS on iPhone Duo - Landscape - Fully Open - Liquid Glass - Light Mode - Preview
initializer

ArrangementView

Creates an arrangement view with a primary and secondary view.

Sheet Background - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
modifier

Sheet Background

Sets the presentation background of the enclosing sheet using a shape style.

Bottom Accessory - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview

Bottom Accessory

A modifier to place content above the tabs

Split Arrangement Layout Ratio - iOS on iPhone Duo - Landscape - Fully Open - Liquid Glass - Light Mode - Preview
modifier

Split Arrangement Layout Ratio

Sets the preferred size ratio for an arrangement view in a split style. Use this modifier when you want to customize the size of the view compared to its other views in the split layout.

Async URL Image - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

Async URL Image

Loads and displays an image from the specified URL load request.

CompactProductViewStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
style

CompactProductViewStyle

A style for a product view that’s suitable for layouts with less available space, or for displaying more items in a small amount of space.

Placeholder Icon Product View - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
initializer

Placeholder Icon Product View

Creates a view to load an individual product from the App Store, and merchandise it using its promotional image and a custom placeholder icon.

Tab Badge - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview
modifier

Tab Badge

Generates a badge for a tab from an integer value.