V Vultra UI

Screen Paywall

High-converting mobile and web subscription paywall with monthly/annual period selection, squircle continuous corners, feature checkmarks, and restore purchase action.

CLI Installation

npx @vultra/cli add screen-paywall

Usage

<script>
  import { ScreenPaywall } from '$lib/components/screen-paywall';

  function handleSelect(planId) {
    console.log('Selected plan:', planId);
  }

  function handleRestore() {
    console.log('Restoring purchases...');
  }
</script>

<ScreenPaywall
  title="Tingkatkan ke Akses Pro"
  subtitle="Buka seluruh automasi faktur dan integrasi WhatsApp."
  onSelect={handleSelect}
  onRestore={handleRestore}
/>

Props

PropTypeDefaultDescription
titlestring"Tingkatkan ke Akses Pro"Paywall headline
subtitlestring...Sub-headline value proposition
featuresstring[][...]List of bullet points with checkmarks
plansPaywallPlan[][...]Plan options with price, billing period, badge
selectedPlanIdstring"annual"Bound selected plan ID
ctaTextstring"Mulai 7 Hari Uji Coba Gratis"Primary action text
disclaimerstring...Legal/refund disclaimer at bottom
showClosebooleantrueShow close button at top-left
onSelect(id: string) => voidundefinedCallback when plan or CTA is clicked
onRestore() => voidundefinedCallback for Apple/Google restore purchases
onClose() => voidundefinedCallback when close button is clicked