https://github.com/benlmyers/confetti-view
A simple confetti view for apps using SwiftUI.
https://github.com/benlmyers/confetti-view
swift swiftui
Last synced: 7 months ago
JSON representation
A simple confetti view for apps using SwiftUI.
- Host: GitHub
- URL: https://github.com/benlmyers/confetti-view
- Owner: benlmyers
- Created: 2021-06-15T19:14:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-09T10:33:02.000Z (over 3 years ago)
- Last Synced: 2025-05-02T23:43:21.869Z (7 months ago)
- Topics: swift, swiftui
- Language: Swift
- Homepage:
- Size: 53.7 KB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- fucking-about-SwiftUI - Confetti-View
README
# ConfettiView
Create fun animated confetti views with ease!

## Installation
Use ****Swift Package Manager**** to install this package:
```
https://github.com/benlmyers/confetti-view
```
## Usage
In your View, first import `ConfettiView`:
```swift
import ConfettiView
```
Place the `ConfettiView` in a `ZStack` with your other content to display a fun confetti animation when the view appears!
```swift
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](https://github.com/simibac/ConfettiSwiftUI), with some modifications. Credits go to the original author!