Header

A profile header — a large avatar above a name, role and a bold page title. Composes the Large Avatar atom. All values pulled directly from the LUSTER Figma component.

Name #24242C (20px/500) · Role #62626D (16px) · Title #24242C (24px/700) · Avatar 80px
Osama Eldrieny
Osama Eldrieny
Design System Designer
Multi-Theme Design System

Component · Header

A Large Avatar (square, 80px), a name (Heading-2) with a role beneath it (Body), and a bold page Title (Heading-1) — all centered.

Osama Eldrieny
Osama Eldrieny
Design System Designer
Multi-Theme Design System

Design Tokens

Token names mirror the LUSTER Figma variable paths one-to-one. The header composes the Large Avatar atom inside a section container. Values shown are the Diamond brand, Light mode defaults (the Figma file's default mode). Other brands (Amber, Opal) and Dark mode resolve to different values via the Color Theme & Component Brand collections.

Token NameFigma VariableDefault Value
--headerNameFontColorheader/name/font/color#24242C
--headerRoleFontColorheader/role/font/color#62626D
--headerTitleFontColorheader/title/font/color#24242C
--headerNameMarginBottomheader/name/marginBottom4px
--headerInfoGapheader/info/gap8px
--headerBodyGapheader/body/gap16px
--avatarSizeLgHeightavatar/size/lg/height80px
--avatarBorderWidthavatar/border/width2px
--avatarBorderRadiusavatar/border/radius0px
--sectionBgColorsection/bg/color#FFFFFF
--sectionPaddingXsection/padding/x24px
--sectionPaddingYsection/padding/y24px
--sectionBorderRadiussection/border/radius0px
--sectionShadowColorsection/shadow/color#CECBDC
--sectionShadowOffsetXsection/shadow/offset-x0px
--sectionShadowOffsetYsection/shadow/offset-y0px
--sectionShadowBlursection/shadow/blur0px
--heading2FontSizetypography/heading-2/font/size20px
--heading2FontLineHeighttypography/heading-2/font/lineHeight24px
--heading2FontWeighttypography/heading-2/font/weight500
--heading1FontSizetypography/heading-1/font/size24px
--heading1FontLineHeighttypography/heading-1/font/lineHeight29px
--heading1FontWeighttypography/heading-1/font/weight700
--bodyFontSizetypography/body/font/size16px
--bodyFontLineHeighttypography/body/font/lineHeight19px
--bodyFontWeighttypography/body/font/weight400
--bodyFontFamilybody/font/familyInter

Usage Guidelines

✓ DO

Lead with the avatar, then name, role and the page title.

✓ DO

Reuse the XLarge Avatar atom for the profile image.

✗ DON'T

Don't mix multiple bold titles — keep one clear hierarchy.

✗ DON'T

Don't restyle the avatar — reuse the Large Avatar atom (square, 80px).

Implementation

Values shown are the Diamond brand, Light mode defaults (the Figma file's default mode). Other brands (Amber, Opal) and Dark mode resolve to different values via the Color Theme & Component Brand collections.

import { Avatar } from '@luster/ui';
import './Header.css';

export interface HeaderProps {
  name: string; role: string; title: string; avatarSrc: string;
}

export const Header = ({ name, role, title, avatarSrc }: HeaderProps) => (
  <header className="header">
    <Avatar size="xl" src={avatarSrc} name={name} />
    <div className="header__info">
      <div>
        <h2 className="header__name">{name}</h2>
        <p className="header__role">{role}</p>
      </div>
      <h1 className="header__title">{title}</h1>
    </div>
  </header>
);