Interactive previews iPhone
Divider Height
Customizing the height 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()
.frame(height: 5)
.overlay(.brown)
Found an issue or have a suggestion?
Created: June 5, 2025Updated: December 27, 2025
More Divider Components
View allExplore Other Components
Browse allOutline Group
A structure that computes views and disclosure groups on demand from an underlying collection of tree-structured, identified data.
MenuPickerStyle
A picker style that presents the options as a menu when the user presses a button, or as a submenu when nested within a larger menu.