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 andAppHeader) holds every brand screen.- Wallet:
HeroCardwithcompactanddeco={false}(the mock's hero has no decoration), itsactionsa white Top upButtonand anon-darkone. A plaindivaround it keeps it at its own height in the grid. - Four
Tile size="metric"in a 2 × 2 grid, tones lime / rasp / butter / sky withdeco="blob"or"star". Labels areMoneyNote(sales, program cost, sales per commission) orTerm; values areMoney compact;Deltacarries "vs previous 30 days" (unit="abs"on the ratio). - To-do list:
CardwithCard.Header, thenTodoItems/TodoItem(icon,tone,href); the low wallet isStrong tone="bad". - Seat usage:
Gaugewith threesegments(rasp,rasp-soft,track), each legend aTerm. LiveChallengeCardfor Winter glow, andRankListofCreatorCellrows withTierChipandMoney compact.- Grow your program:
CalloutCard layout="row"withCopyLinkFieldand a raspButton.