SwiftUI Paywalls & Subscriptions
Benefit rows with checkmarks, cascading bounce animations, and selectable subscription plan choices. (3 components available in Compot).
1 of 3Free ComponentiOS 16.0+
Benefit Row Basic
Single paywall feature row with colored checkmark and benefit description.
BenefitRowBasic.swift
import SwiftUI
struct BenefitRowBasic: View {
var body: some View {
HStack(spacing: 12) {
Image(systemName: "checkmark.circle.fill")
.foregroundStyle(Color.accentColor)
.symbolRenderingMode(.multicolor)
.font(.system(size: 22, weight: .medium))
Text("Benefit description")
.multilineTextAlignment(.leading)
}
.font(.system(size: 17, weight: .medium))
.frame(alignment: .leading)
}
}
#Preview {
BenefitRowBasic()
}2 of 3Pro ComponentiOS 16.0+
Pro Benefits VStack with Bounce
Complete paywall feature list with cascading spring-in bounce animations.
ProBenefitsVstackWithBounce.swiftPro
import SwiftUI
struct ProBenefitsWBounce: DynamicViewComponent {
@State private var bounce1: Bool = false
@State private var bounce2: Bool = false
@State private var bounce3: Bool = false
// ...
// Complete source code available in Compot Pro on the App Store.Compot Pro Component
Unlock full code & interactive preview
Interactive live preview and complete SwiftUI code available in the Compot App.
Available for macOS & iOS • 85+ free components included
3 of 3Pro ComponentiOS 16.0+
Subscription Plan Choice with Checkmark
Selectable pricing tier card (Monthly vs. Annual) with radio checkmark and "Save 50%" tag.
SubscriptionPlanChoiceWithCheckmark.swiftPro
import SwiftUI
struct SubscriptionPlanBanner: View {
@State private var isSelected: Bool = false
let planTitle: String = "Compot Pro Annual Subscription"
let planPrice: String = "$9.99/year, then $29.99/year"
// ...
// Complete source code available in Compot Pro on the App Store.Compot Pro Component
Unlock full code & interactive preview
Interactive live preview and complete SwiftUI code available in the Compot App.
Available for macOS & iOS • 85+ free components included
Explore other SwiftUI categories
Buttons (34)Texts & Typography (18)Banners & Promos (10)Cards & Content Displays (8)Settings, Lists & Rows (9)Avatars & User Profiles (7)Charts & Gauges (5)Icons & Badges (7)Links & Sharing (5)Navigation Links & Banners (3)Onboarding & Welcome Screens (3)Images & Effects (3)Labels (4)SF Symbols & Animations (4)Inputs & Text Editors (2)Shapes, Chat & Real-Time (2)Tiles & Selectables (2)Badges & Pills (1)Alerts & Modals (1)Toasts & Feedback (1)Developer Templates & Architecture (3)