Skip to content
nimatime
·v1.0.2·Apache-2.0

Subscription Paywall View@axint/subscription-paywall-view

SwiftUI subscription paywall surface with trial copy, benefits, restore, and compliance notes.

viewswiftuistorekitmonetization#swiftui#paywall#storekit#subscription
GitHub-linked publisherCompiler 0.4.23Source includedDocs attachedValidated 3h agoPolicy clear for v1.0.2Updated 1.0.1 → 1.0.2
Cloud report
2 installsSupports typescript
Validation healthy3h ago
0E / 0W / 0I · axint 0.4.28
Latest version change1.0.11.0.2
Compared with v1.0.1, Subscription Paywall View now ships 46 Swift lines from 42 source lines.

Package activity is a directional signal based on registry install requests. Use source, validation, and publisher metadata before treating it as adoption proof.

Subscription Paywall View animated demo

Subscription Paywall View

Animated Registry demo · @axint/subscription-paywall-view

v1.0.2
Live playground
Built in 42ms
Source
42 lines
Generated Swift
46 lines
axint typescript → Swift
README

@axint/subscription-paywall-view

SwiftUI subscription paywall surface with trial copy, benefits, restore, and compliance notes.

Subscription Paywall demo

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-products
  • offer-visible
  • purchasing
  • purchase-success
  • purchase-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