ConfettiView – Emits confetti with the user define shapes and images with text
  • July 11, 2025

A SwiftUI View that emits confetti with user-defined shapes, images, and text.

Installation


ConfettiView is available through Swift Package Manager

  • In Xcode choose File -> Swift Packages -> Add Package Dependency...
  • Paste this Github URL (https://github.com/ziligy/ConfettiView ) into the search bar and click Next.
  • When repository displays, click Next.
  • When loaded, click Finish.

Simple Use

import SwiftUI
import ConfettiView

struct ContentView: View {

let confettiView = ConfettiView( confetti: [
.text(“🎉”),
.text(“💪”),
.shape(.circle),
.shape(.triangle),
])

var body: some View {
confettiView
}
}

Example


see included example for:

  • timed-celebration
  • fade out
  • including images

Apps Using ConfettiView


GitHub


View Github

#ConfettiView
YOU MIGHT ALSO LIKE...
MijickPopups Hero

  Popups Alerts Resizable Sheets Banners

SwiftUI Tooltip

This package provides you with an easy way to show tooltips over any SwiftUI view, since Apple does not provide ...

SimpleToast for SwiftUI

SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or ...

SSToastMessage

Create Toast Views with Minimal Effort in SwiftUI Using SSToastMessage. SSToastMessage enables you to effortlessly add toast notifications, alerts, and ...

ToastUI

A simple way to show toast in SwiftUI   Getting Started • Documentation • Change Log