Skip to Content
BBRICKSv0.7.4
Screens

Home

The brand home: wallet hero, metric tiles, to-do list, seat usage, live challenge and top creators.

The brand home: wallet hero, metric tiles, to-do list, seat usage, live challenge and top creators. The composition is HomeScreen.tsx; every part of it is a BRICKS export.

Home

The wallet hero, four metric tiles, the to-do list, seat usage, the live challenge and top creators.

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

function Home() { return <HomeScreen language={useLanguage()} />; }

How it is built

  • ScreenFrame (the gallery's brand shell: AppShell, the nav and AppHeader) holds every brand screen.
  • Wallet: HeroCard with compact and deco={false} (the mock's hero has no decoration), its actions a white Top up Button and an on-dark one. A plain div around it keeps it at its own height in the grid.
  • Four Tile size="metric" in a 2 × 2 grid, tones lime / rasp / butter / sky with deco="blob" or "star". Labels are MoneyNote (sales, program cost, sales per commission) or Term; values are Money compact; Delta carries "vs previous 30 days" (unit="abs" on the ratio).
  • To-do list: Card with Card.Header, then TodoItems / TodoItem (icon, tone, href); the low wallet is Strong tone="bad".
  • Seat usage: Gauge with three segments (rasp, rasp-soft, track), each legend a Term.
  • LiveChallengeCard for Winter glow, and RankList of CreatorCell rows with TierChip and Money compact.
  • Grow your program: CalloutCard layout="row" with CopyLinkField and a rasp Button.