Component reference
The table below lists every component tag along with its Livewire and Blade equivalents.| Purpose | Livewire tag | Blade tag |
|---|---|---|
| Display available plans with a subscribe button | <livewire:subscribd::plan-picker /> | <x-subscribd-plan-picker /> |
| Embedded payment form (Stripe Elements or hosted checkout) | <livewire:subscribd::checkout /> | <x-subscribd-checkout /> |
| Show current plan, cancel/resume controls | <livewire:subscribd::subscription-manager /> | <x-subscribd-subscription-manager /> |
| List, add, and remove payment methods | <livewire:subscribd::payment-methods /> | <x-subscribd-payment-methods /> |
| Paginated invoice list with PDF download links | <livewire:subscribd::invoice-history /> | <x-subscribd-invoice-history /> |
| Coupon code input and redemption | <livewire:subscribd::coupon-redeem /> | <x-subscribd-coupon-redeem /> |
Embedding components in views
Drop any component tag directly into a Blade template. No controller logic is required — each component resolves the authenticated billable automatically.- Livewire
- Blade
resources/views/billing/index.blade.php
Livewire vs Blade variants
Livewire components
Use the Livewire variants when you want real-time interactivity — plan selection updates immediately, coupon redemption shows inline feedback, and subscription actions do not require a full page reload. Livewire must be installed in your app.
Blade components
Use the Blade variants when your app does not use Livewire, or when you are embedding a component inside an existing Alpine.js or Inertia.js setup and want full control over re-rendering.
Publishing views
By default, Subscribd renders components from its own package views. Publish them toresources/views/vendor/subscribd/ to customize markup, classes, or layout.
Publishing views is optional. You can theme components with CSS custom properties alone — see Theming for details.