- August 28, 2025
- Mins Read
Morphi provides some additional shapes for SwiftUI.
TriangleParallelogram(topLeftAngle)Polygon(sides)RoundedPolygon(sides, cornerRadius)HeartMoon(angle)PlusSign(width)Star(points)Wave(isUp, width, offset)SuperEllipse(n)DropRing(radius) (to use with a FillStyle with eoFill equal to true)Gear(radius, cogs) (to use with a FillStyle with eoFill equal to true)
Like any other shapes just initialize it.
Heart().fill(Color.red).frame(width: 100, height: 100)
aView.clipShape(Drop())
// or using static member
aView.clipShape(.drop)
You can even do it on another shape.
Polygon(sides: 6).fill(Color.red).clipShape(.drop)
For UIKit version with UIBezierPath see IBAnimatable framework
This package provides you with an easy way to show tooltips over any SwiftUI view, since Apple does not provide ...
SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or ...
Create Toast Views with Minimal Effort in SwiftUI Using SSToastMessage. SSToastMessage enables you to effortlessly add toast notifications, alerts, and ...