SwiftCardView Material CardView | Swift 5 Add CardView.swift file to your project and then simply add CardView class to any of your UIView. Example Output