Skip to Content
BBRICKSv0.7.4
BlocksCreators

CreatorProfilePanel

The Find creators mini profile (drawer body): a tinted hero (photo 92, name, tier and niche, the highlight), the figure tiles (built in: those the creator has; tiles replaces or edits them), the score card, followers by platform, the highlights grid, Invite and the privacy note.

import { CreatorProfilePanel } from '@ergasti/bricks';

Examples

Creator profile

The drawer body for a creator you can invite: score, followers by platform, key facts, a highlight and the invite button.

Code
import { CreatorProfilePanel, useLanguage } from '@ergasti/bricks';
import { blocksData } from './sample-data';

function Profile() {
  const language = useLanguage();
  const c = blocksData.DISCOVER[0];
  return (
    <div style={{ maxWidth: 400 }}>
      <CreatorProfilePanel creator={{ ...c, niche: language === 'ar' ? c.nicheAr : c.niche }} tone="sky" onInvite={() => {}} />
    </div>
  );
}

The parts

The profile is built from ScoreCard, FollowerBars and FactsGrid, which you can use alone.

Code
import { FactsGrid, FollowerBars, ScoreCard } from '@ergasti/bricks';

function Parts() {
  return (
    <div style={{ display: 'grid', gap: 16, maxWidth: 400 }}>
      <ScoreCard score={74} />
      <FollowerBars followers={{ instagram: 143000, tiktok: 310000, youtube: 56000 }} />
      <FactsGrid items={[{ label: 'Orders (90 days)', value: 785 }, { label: 'Engagement', value: '3.1%' }, { label: 'Brands', value: 8 }]} />
    </div>
  );
}

Your own highlights, and money

facts replaces the highlights grid with your list, or takes a function of the built-in list to add to or reorder it; a fact with figure gets that figure's "?" note. money sets how the two money slots show: sales90 (compact by default) and averageOrder (two decimals). averageOrder on the creator is optional; without it the built-in fact is left out.

Code
import { CreatorProfilePanel, useLanguage } from '@ergasti/bricks';
import { blocksData } from './sample-data';

function FactsAndMoney() {
  const language = useLanguage();
  const c = blocksData.DISCOVER[0];
  return (
    <div style={{ maxWidth: 400 }}>
      <CreatorProfilePanel
        creator={{ ...c, niche: language === 'ar' ? c.nicheAr : c.niche }}
        tone="sky"
        onInvite={() => {}}
        money={{ sales90: { decimals: 0, compact: false }, averageOrder: { decimals: 'auto' } }}
        facts={(builtIn) => [{ key: 'response', label: 'Replies within', value: '4 hours' }, ...builtIn.filter((f) => f.key !== 'since')]}
      />
    </div>
  );
}

Sending, invited, and no seats left

inviting makes Invite busy while the request is out (it keeps focus); invited swaps the button for "Invited"; inviteDisabled keeps Invite visible but not pressable when the plan has no seats left. All three use aria-disabled, so the button stays reachable and says why.

Code
import { CreatorProfilePanel, useLanguage } from '@ergasti/bricks';
import { blocksData } from './sample-data';

function InviteStates() {
  const language = useLanguage();
  const c = { ...blocksData.DISCOVER[1], niche: language === 'ar' ? blocksData.DISCOVER[1].nicheAr : blocksData.DISCOVER[1].niche };
  return (
    <div style={{ display: 'grid', gap: 16, gridTemplateColumns: 'repeat(auto-fit, minmax(300px, 1fr))' }}>
      <CreatorProfilePanel creator={c} tone="sky" inviting onInvite={() => {}} />
      <CreatorProfilePanel creator={c} tone="lime" invited onInvite={() => {}} />
      <CreatorProfilePanel creator={c} tone="butter" inviteDisabled onInvite={() => {}} />
    </div>
  );
}

The pool profile

tiles replaces the coloured figures (two rows of two: Engagement, Followers, TRNDR score, On TRNDR since); fields left out of the creator (brands, growth, wins, since) drop their built-in tile or fact; note replaces the sentence under Invite.

Code
import { CreatorProfilePanel } from '@ergasti/bricks';
import { blocksData } from './sample-data';

function PoolProfile() {
  const c = blocksData.DISCOVER[0];
  return (
    <div style={{ maxWidth: 400 }}>
      <CreatorProfilePanel tone="lilac" creator={{ ...c, sales90: null, orders90: null, brands: null, growth: undefined, wins: null }}
        tiles={[{ key: 'eng', label: 'Engagement', value: '3.4%', tone: 'butter' }, { key: 'fol', label: 'Followers', value: '24.3K', tone: 'sky' }, { key: 'score', label: 'TRNDR score', value: '55', tone: 'lime' }, { key: 'since', label: 'On TRNDR since', value: 'Mar 2026', tone: 'lilac' }]}
        onInvite={() => {}} inviteDisabled note="No seats left. Ask TRNDR to raise your creator limit." />
    </div>
  );
}

Props

Prop

Type

Labels

Every word this component draws, in both languages. Override one per component and language with BricksProvider labels under the key creatorProfilePanel, or with the component's own prop where it has one. A {name} is a value the component fills in.

creatorProfilePanel
KeyEnglishArabic
soldSold on TRNDR · 90 daysاتباع على TRNDR · 90 يوم
ordersOrders · 90 daysالطلبات · 90 يوم
engagementEngagementالتفاعل
brandsBrands worked withبراندات اشتغل معاها
scoreTitleTRNDR score {n} / 100تقييم TRNDR {n} من 100
noScoreNo TRNDR score yetلسه مفيش تقييم TRNDR
scoreWhyBased on sales, content quality and on-time postingمحسوب من المبيعات وجودة المحتوى والالتزام بمواعيد النشر
followersFollowers · {t} totalالمتابعين · {t} إجمالي
highlightsHighlightsأبرز الأرقام
averageOrderAverage orderمتوسط الطلب
growthSales this monthمبيعات الشهر ده
winsChallenges wonتحديات كسبها
sinceOn TRNDR sinceعلى TRNDR من
inviteInvite {f}ادعُ {f}
invitedInvited ✓تمت الدعوة ✓
noteThe invite holds one seat until they reply. TRNDR handles all contact. Usernames, phone and address stay private.الدعوة بتحجز مكان لحد ما يرد. TRNDR بيتولى كل التواصل. اسم المستخدم والتليفون والعنوان بيفضلوا سرّيين.

Design guidance

How the BRICKS design system uses CreatorProfilePanel. Written in docs/content/components/CreatorProfilePanel.md; the props above are read from the code, which wins where the two disagree.

The Find creators mini profile shown in a drawer: a tinted hero with photo, name, tier, niche and highlight, figure tiles, the TRNDR score card, followers by platform, a highlights grid, Invite and the privacy note.

It is the mock's openFind() drawer on Brand › Find creators: what a brand sees about a creator outside its program before inviting them. All figures come from the server (2-dp money strings, counts); built-in tiles and facts appear only when their field is set, and tiles / facts replace or edit them (the console's pool profile has no cross-store figures). Invite moves through invite → sending → "Invited ✓" on one button that is never natively disabled, so focus stays on it.

Anatomy

  1. Hero: .kit-blk-mphero.kit-blk-tone--<tone>, radius 24, centred: 92px photo (radius 28, white ring), name (display 22 / 700), TierChip + niche Pill, HighlightBadge onWhite.
  2. Figure tiles: .kit-blk-mpkpi, 2 columns, 10px gap; each a tinted tile with a 20 / 800 value and a 12px caption (a plain-variant MoneyNote when figure).
  3. Score card: ScoreCard (ring + "TRNDR score 81 / 100" + what it is based on).
  4. Followers: h3 "Followers · 143K total" + FollowerBars.
  5. Highlights: h3 "Highlights" + FactsGrid (2 columns, hairlines).
  6. Invite (with onInvite): full-width 48px Button (ink; default look when invited).
  7. Note: 12px muted privacy sentence (or note).

Variants

PropValuesLook / when
tone'lime' | 'rasp' | 'butter' | 'sky' | 'lilac'Hero tint; match the card the drawer opened from.
tilesdefault / list / functionBuilt-in: Sold on TRNDR · 90 days (lime, creator_sales), Orders · 90 days (sky), Engagement (butter), Brands worked with (lilac). A list replaces (pool profile: Engagement, Followers, TRNDR score, On TRNDR since).
factsdefault / list / functionBuilt-in: Average order (average_order), Sales this month (+/−%), Challenges won, On TRNDR since.
money.sales90 / money.averageOrderMoneyDisplayDefaults: compact "EGP 212.0K"; two decimals.

States

StateTrigger
Can inviteonInvite, not invited: "Invite Laila".
Invitinginviting: aria-busy, aria-disabled, click ignored.
Invitedinvited: "Invited ✓", aria-disabled.
Invite disabledinviteDisabled (no seats): off look, aria-disabled; pair with note saying why.
No scorecreator.score === null: "No TRNDR score yet".
Unknown engagement / growthnull shows "—".
Sparsemissing fields drop their tile or fact; no tiles or facts → that section is omitted.

Types

ProfileCreator = FindCreator (id, name, avatarUrl?, tier, niche?, score, highlight?, sales90?, orders90?, engagement, followers) + brands?, averageOrder? (2-dp), growth? (%), wins?, since? ("Mar 2026"). ProfileTile: { key, label, value, tone, figure? }. ProfileFact: { key, label, value, figure? }.

ProfileCopy (labels): any copy (sold, invite(first), note, …).

Usage

// Brand › Find creators › creator drawer
<Drawer open={openId !== null} onClose={close} title={<span className="kit-sr">{creator.name}</span>}>
  <CreatorProfilePanel
    creator={{ id: 41, name: 'Laila Saeed', tier: 'established', niche: 'Beauty', score: 81,
      highlight: { kind: 'fire', text: 'Top 10% seller on TRNDR' },
      sales90: '212000.00', orders90: 708, engagement: 3.1, brands: 5,
      followers: { instagram: 143000, tiktok: 310000 }, growth: 64, wins: 2, since: 'Mar 2025' }}
    tone="sky"
    invited={invitedIds.has(41)} inviting={invite.pending} onInvite={() => invite.run(41)}
  />
</Drawer>
// Pool profile: no cross-store figures, no seats left
<CreatorProfilePanel creator={c} tone="lilac" inviteDisabled onInvite={invite}
  tiles={[
    { key: 'eng', label: 'Engagement', value: '3.4%', tone: 'butter' },
    { key: 'fol', label: 'Followers', value: '24.3K', tone: 'sky' },
    { key: 'score', label: 'TRNDR score', value: '55', tone: 'lime' },
    { key: 'since', label: 'On TRNDR since', value: 'Mar 2026', tone: 'lilac' },
  ]}
  facts={(builtIn) => builtIn.filter((f) => f.key === 'since')}
  note="No seats left. Ask TRNDR to raise your creator limit." />

Where it appears

  • Brand › Find creators › creator mini profile drawer (openFind()), opened from a FindCreatorCard (BrandFindCreators).

Guidelines

Do

  • Use the same tone as the card it opened from.
  • Keep the privacy note; it is the promise that contact goes through TRNDR.
  • When seats run out, set inviteDisabled and a note saying what to do.

Don't

  • Don't show handles, phone or address; the panel has no slot for them by design.
  • Don't invent figures the server did not send; leave the field out.

RTL and Arabic

  • Centred hero is direction-neutral; grids mirror. Name dir="auto"; values LTR.
  • Arabic copy: "اتباع على TRNDR · 90 يوم", "ادعُ ليلى", "تمت الدعوة ✓"; the name's letter-spacing is 0 in RTL.

Tokens

--lime-50, --olive, --rasp-50, --butter, --butter-ink, --sky, --sky-ink, --lilac, --lilac-ink, --card, --line, --track, --rasp, --ink, --ink-3, --font-family-display, --tracking-display.

Accessibility

  • Sections have h3 headings (Followers, Highlights) under the drawer's title.
  • Invite uses aria-disabled / aria-busy rather than disabled, so it keeps focus and is read as unavailable (aria-disabled) or busy (aria-busy) when focused.
  • Bars are decorative; counts are text. Money captions keep their "?" (plain variant).

Found in the source

  • ARIA attributes set: aria-hidden, aria-disabled, aria-busy.
  • Keys the code handles: string.

Read from the component's source and tests. See Accessibility for the patterns the library follows.

See also: Avatar · Button · Icon · MoneyNote · Money · Pill · ScoreRing · TierChip · useBricks · useLanguage · useMoneyDisplay

Source

src/blocks/creators/CreatorProfilePanel.tsx (line 166) on GitHub.

On this page