Skip to Content
BBRICKSv0.7.4
Screens

Payments › Wallet

The wallet hero, wallet health and the ledger grouped by challenge.

The wallet hero, wallet health and the ledger grouped by challenge. The composition is PaymentsWalletScreen.tsx; every part of it is a BRICKS export.

Payments › Wallet

The wallet hero, wallet health and the ledger grouped by challenge.

Pinned to TRNDR preset
Code
import { useLanguage } from '@ergasti/bricks';
import { PaymentsWalletScreen } from '../../../packages/bricks/src/gallery/screens/PaymentsWalletScreen';

function Wallet() { return <PaymentsWalletScreen language={useLanguage()} />; }

How it is built

  • PillTabs (Wallet, Commissions, Payouts) under the page head.
  • HeroCard with deco={false} and two actions (white Top up, on-dark Pay by bank transfer).
  • WalletHealthCard with lowPercent={20} and pauseDays={7} (the mock's rules), leftPercent and lastTopup.
  • WalletLedger grouped by challenge: each LedgerGroup has a tone, total, entries, onOpenChallenge for challenges and proof for the top-up; view / onViewChange switch grouped and flat, onExport adds the export button.