@axint/subscription-paywall-view
SwiftUI subscription paywall surface with trial copy, benefits, restore, and compliance notes.

axint add @axint/subscription-paywall-view
What it does
This kit gives agents a reusable paywall boundary that can be connected to StoreKit 2. It includes the visible pieces a subscription screen should not forget: offer copy, benefits, purchase action, restore purchases, and failure/loading states.
Variants
minimal- price, one benefit, primary action.standard- benefits, trial copy, restore, and terms.premium- hero layout with stronger upgrade framing.dense- sheet-friendly feature gate.accessibility-first- plain labels and unambiguous purchase copy.
States
loading-productsoffer-visiblepurchasingpurchase-successpurchase-failed
Apple contracts
- Load localized prices from StoreKit Product data.
- Keep Restore purchases visible.
- Include subscription renewal and cancellation terms where the host app displays purchase copy.
- Make purchase failure recoverable.
Machine-readable Ship Kit Contract
{
"backlogId": "PAY-001",
"rank": 3,
"package": "@axint/subscription-paywall-view",
"variants": ["minimal", "standard", "premium", "dense", "accessibility-first"],
"states": ["loading-products", "offer-visible", "purchasing", "purchase-success", "purchase-failed"],
"demo": "media/demo.gif",
"diagnostics": ["AX850", "AX855"]
}
Agent prompt
Install @axint/subscription-paywall-view, replace sample price and benefits with StoreKit Product values, wire Continue to purchase, and keep Restore purchases visible. Run an App Review compliance check before release.
License
Apache-2.0