Skip to main content

Component Reference

This page documents every subscribd component with its props, events, slots, and publish tags. All Livewire components live in the subscribd::subscriber.* and subscribd::admin.* namespaces.
All Blade components are prefixed with x-subscribd-.

Publish tags

Always check the CHANGELOG for VIEW CHANGE notices before re-publishing with --force.

Subscriber components

PlanPicker (Livewire)

Renders all active plans as selectable cards with upgrade/downgrade support for existing subscribers.
Props Events dispatched (browser) Slots Published view path: resources/views/vendor/subscribd/livewire/subscriber/plan-picker.blade.php

Checkout (Livewire)

Renders the gateway-specific payment form for a given plan. Supports embedded (Stripe Elements, Braintree Drop-in, Square Web Payments) and overlay (Paddle) checkout modes.
Required props Optional props Events dispatched (browser) Slots Published view path: resources/views/vendor/subscribd/livewire/subscriber/checkout.blade.php

BillingDashboard (Livewire)

Full self-service billing portal. Composes PlanPicker, SubscriptionManager, InvoiceHistory, PaymentMethods, CouponRedeem, and TrialStatus into a single tabbed dashboard.
Optional props Published view path: resources/views/vendor/subscribd/livewire/subscriber/billing-dashboard.blade.php

SubscriptionManager (Livewire)

Displays the current subscription with status, plan name, next billing date, and self-service actions (cancel, resume, trial convert, trial extend).
Optional props Events dispatched (browser) Published view path: resources/views/vendor/subscribd/livewire/subscriber/subscription-manager.blade.php

PaymentMethods (Livewire)

Lists stored payment methods with update and set-default actions.
Events dispatched (browser) Published view path: resources/views/vendor/subscribd/livewire/subscriber/payment-methods.blade.php

InvoiceHistory (Livewire)

Paginated invoice list with PDF download links.
Optional props Published view path: resources/views/vendor/subscribd/livewire/subscriber/invoice-history.blade.php

CouponRedeem (Livewire)

Coupon code input widget for custom checkout flows. Validates and stores coupon code in session.
Optional props Events dispatched (browser) Published view path: resources/views/vendor/subscribd/livewire/subscriber/coupon-redeem.blade.php

TrialStatus (Livewire)

Displays trial days remaining with Convert and Extend actions.
Optional props Events dispatched (browser) Published view path: resources/views/vendor/subscribd/livewire/subscriber/trial-status.blade.php

Admin components

Admin\BillingDashboard (Livewire)

Admin overview dashboard with KPI widgets (MRR, ARR, Active Subscriptions, Churn Rate, Trial Conversion).
Published view path: resources/views/vendor/subscribd/livewire/admin/billing-dashboard.blade.php

Admin\SubscriptionList (Livewire)

Searchable, filterable subscription table with inline management actions.
Optional props Published view path: resources/views/vendor/subscribd/livewire/admin/subscription-list.blade.php

Admin\PlanManager (Livewire)

Create, update, and reorder plans and plan items.
Published view path: resources/views/vendor/subscribd/livewire/admin/plan-manager.blade.php

Admin\CouponManager (Livewire)

Create and manage coupons, view redemption counts, and expire coupons early.
Published view path: resources/views/vendor/subscribd/livewire/admin/coupon-manager.blade.php

Admin\BulkOperations (Livewire)

UI for running bulk plan swaps, cancellations, price overrides, and coupon campaigns.
Published view path: resources/views/vendor/subscribd/livewire/admin/bulk-operations.blade.php

Blade components

x-subscribd-plan-picker

Renders all active plans as server-rendered selectable cards. No reactivity — form submit triggers a page reload.
Required props Optional props Slots: plan-card-footer on each card.

x-subscribd-checkout

Server-rendered checkout form. For embedded gateways, renders a gateway-specific JS snippet. Pass the gateway-client-key prop to initialise the payment SDK.
Required props Optional props Slots: legal (below submit button).

x-subscribd-subscription-manager

Read-only subscription summary card. Shows plan name, status badge, next billing date, and grace period countdown if applicable.
Required props

x-subscribd-payment-methods

Read-only list of stored payment methods.
Required props

x-subscribd-invoice-history

Non-paginated invoice table. Best for recent-invoice widgets.
Required props

x-subscribd-coupon-redeem

Inline coupon entry form. Submits a POST request to the coupon validation endpoint.
Required props

x-subscribd-subscription-badge

Status pill badge for the current subscription.
Renders nothing when $subscription is null.

x-subscribd-trial-status

Read-only trial status text. Shows days remaining. No action buttons.
Renders nothing when the subscription is not on trial.

Next steps