Loading repository data…
Loading repository data…
unitedadityaa / repository
This package provides a simple and easy-to-use SwiftUI view for adding a blur effect similar to what you see on AppleTV and the App Store.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This package provides a simple and easy-to-use SwiftUI view for adding a blur effect similar to what you see on AppleTV and the App Store.


Install with SPM
.package(url: "https://github.com/unitedadityaa/SwiftUIGradientBlur.git", .branch("main"))
import SwiftUIGradientBlur
import AVKit
//MARK:- For image
GradientImageView(image: Image("tetris") , height: UIScreen.main.bounds.height , width: UIScreen.main.bounds.width , style: .dark)
//MARK:- For Video
let player = AVPlayer(url: Bundle.main.url(forResource: "video1", withExtension: "mp4")!)
GradientVideoView(player: player, height: UIScreen.main.bounds.height, width: UIScreen.main.bounds.height , style: .systemThinMaterialDark)
.onAppear(perform:{
player.play()
})