Interactive previews iPhone
Divider Color
Customizing the color of the Divider
Platform Compatibility
iOS 13.0+ iPadOS 13.0+ macOS 10.15+ watchOS 6.0+ tvOS 13.0+ visionOS 1.0+
Tags
SwiftUI Code
Divider()
.overlay(.blue)Found an issue or have a suggestion?
Created: June 5, 2025Updated: December 27, 2025
More Divider Components
View allExplore Other Components
Browse allGlass Effect Container
A view that combines multiple Liquid Glass shapes into a single shape that can morph individual shapes into one another
Hide Tab Bar On Scroll Down
Minimize the tab bar when downwards scrolling starts. Minimizing is supported for tab bars on only iPhone
Message Item Alert
Presents an alert with a message using the given data to produce the alert’s content and a localized string key for a title.
Custom Phases Async URL Image
Loads and displays a modifiable image from the specified URL load request in phases.