Skip to content

voronoff2803/ShineView-SwiftUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shine-View-SwiftUI

Animated shine effect for your views

Alt Text

@State var animateTrigger = false


    var body: some View {
        Button(action: { animateTrigger.toggle() }) {
            Text("Shine View")
                .font(.system(size: 40, weight: .bold))
                .padding(30)
                .foregroundColor(.white)
                .background(Color.blue)
                .cornerRadius(18)
            
                .shineEffect(animationTrigger: $animateTrigger) // Shine effect
        }
    }

About

Animated shine effect for your views

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages