A SwiftUI
Shape
that cleanly wraps around any edge of a View
. It's drawing settings are customizable via EdgeBracketConfiguration
, allowing for changing the padding, which edge to draw on, StrokeStyle, coloring (via ShapeStyle, allowing for solid colors or gradients), the length of the brackets, and whether the set length of the brackets should stay clamped to the size of the frame. Additionally, it will flip horizontally automatically in support of right-to-left languages.
EdgeBracketShape
1.0.0
SwiftUI shape and ViewModifier to add a customizable bracket on the edge of a View.
What's New
1.0.0 - Initial Release
2023-06-05T20:45:06Z
Full Changelog: https://github.com/edonv/EdgeBracketShape/commits/1.0.0