Skip to main content
This page documents @whop/elements@1.0.0-beta.4 and @whop/elements-react@1.0.0-beta.4.
Pre-release, not yet part of a stable release. Mounts inside Wallet. Create it to get a handle, then mount its elements on that handle. Call destroy() to remove the sub-controller. Create it again to get a fresh handle.

Preview

A live, interactive demo of this sub-controller’s default arrangement with example data:

Options

Pass these to wallet.create('reports', { … }), or as props on <Reports> in React. Parent-injected props never appear here. Reports takes no options.

Methods

Call these on the sub handle from wallet.create('reports', { … }).

update

Merges new props and callbacks into the sub-controller. Signature: (options: Partial<ReportsSubOptions>) => void

destroy

Destroys the sub-controller and its elements, then frees its exclusive slot. A later create("reports") starts fresh. Signature: () => void

Elements

The elements this sub-controller mounts. Each has its own page:

BalanceReportElement

Balance history with date, timezone, and currency controls, starting and ending balances, and money-in and money-out breakdowns. Drill into activity and export it without leaving the element.

ReportActivityElement

Financial activity with date, currency, direction, and movement filters, pagination, and CSV export. Mount independently or open it from the balance report.