Skip to Content
BBRICKSv0.7.4
Screens

Motivation

Challenge cards with a challenge drawer open.

Challenge cards with a challenge drawer open. The composition is MotivationScreen.tsx; every part of it is a BRICKS export.

Motivation › Challenges

Challenge cards with the "Winter glow launch" drawer open.

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

function Motivation() { return <MotivationScreen language={useLanguage()} />; }

How it is built

  • PillTabs (Challenges with a count, Bonuses, Gifts).
  • Toolbar: the mock's muted hint goes in filters, because Toolbar has no text slot. Request a challenge is a rasp Button in actions.
  • Four ChallengeCards (live, waiting, ended, rejected) with tone, dates, commissionLabel, gifts, days, creators, sales, commission; the rejected card has a reason and the waiting card has sentOn.
  • Winter glow is open in a Drawer hideTitle with ChallengeDetail. topCreators lists five creators with their handles, commissionPaid is set, and it has onOpenCreator, onAction and onOpenAnalytics.