Skip to content

shaundon/ConfettiDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Confetti Demo

This a proof of concept of a confetti view in SwiftUI. I'm using it in production in my apps Personal Best and Taylor's Version. It runs smoothly at 60fps (120fps on ProMotion-enabled devices) and includes haptic feedback.

Demo

Demo of the confetti view

The main interface is a View extension, which allows confetti to be attached to any view:

Text("Hello world")
    .withConfetti(isVisible: $confettiVisible)

See ContentView.swift for where it's used.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages