SkillAgentSearch skills...

ConfettiView

a Confetti View for SwiftUI

Install / Use

/learn @ziligy/ConfettiView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ConfettiView

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

<img src="https://github.com/ziligy/ConfettiView/blob/master/docs/assets/example.gif" alt="SwiftUI ConfettiView by ziligy" width="319" height="690" align="right">

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

Attributions

inspiration and code influences

View on GitHub
GitHub Stars134
CategoryDevelopment
Updated3mo ago
Forks9

Languages

Swift

Security Score

97/100

Audited on Dec 16, 2025

No findings