benlmyers / confetti-view

A simple confetti view for apps using SwiftUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ConfettiView

Create fun animated confetti views with ease!

Social Preview

Installation

Use Swift Package Manager to install this package:

https://github.com/benlmyers/confetti-view

Usage

In your View, first import ConfettiView:

import ConfettiView

Place the ConfettiView in a ZStack with your other content to display a fun confetti animation when the view appears!

var body: some View {
  ZStack {
    SomeContentView()
    ConfettiView()
  }
}

Future additions

If this package receives attention, I will continue to add features to this.

Please make your feature requests using the GitHub Issues system!

Credits

This project has been adapated from this repo, with some modifications. Credits go to the original author!

About

A simple confetti view for apps using SwiftUI.


Languages

Language:Swift 100.0%