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...
SwiftSpeech

Recognize your user's voice elegantly without having to figure out authorization and audio engines. SwiftSpeech Examples Features Installation Getting Started ...

SwiftUIValueSlider

Example To run the example project, clone the repo, and run pod install from the Example directory first. Requirements iOS 14.0 Installation ...

Sliders

Sliders is a compilation of all my stylable drag based SwiftUI components. It provides a variety of unique controls as well ...

SlidingRuler

SlidingRuler is a Swift package containing a SwiftUI control that acts like an linear infinite slider or a finite, more precise ...

Skeletonui

SkeletonUI aims to bring an elegant, declarative syntax to skeleton loading animations. Get rid of loading screens or spinners and ...