Overview Button Copy button Field Input Number field Textarea Select Combobox Multiselect Date picker Date range picker Date-time picker Checkbox Radio group Position picker Switch Slider Dropzone Device controls Avatar Badge Card Collapsible Kbd Map Matrix Proportion bar Separator Stat Table Timeline Chat Playback Pagination Charts Chart theming Profile chart Time series chart Bar chart Isopleth chart TS diagram Box plot Rose chart Calendar chart Banner Toast Loader Progress Skeleton Empty state Error state Dropdown menu Tooltip Info tooltip Dialog Sheet Resizable Confirm dialog Breadcrumbs Command palette Mobile menu Navigation list Outline Scroll rail Sidebar Tabs
Avatar
Who: a person or an organization, as their picture or their initials on a colour of their own.
People and organizations
Round for people, square for organizations, so the two never look alike.
Henrik Aasen Silje Hadler-Jacobsen Ola Nordmann Kari Berg Jonas Lie
Vestland Marin AS Bergen kommune Statsforvalteren i Vestland Skanska
<Avatar name={user.name} src={user.picture} colorKey={user.id} />
<Avatar name={org.name} kind="organization" size="lg" />
<AvatarGroup people={mission.crew} max={4} /> Sizes
xssmmdlgxlGroup
A crew, the people with access. Up to four, then +n.
Picture
When the picture fails to load, the initials take its place.
Rules
- People are round, organizations square, everywhere.
- The colour follows the person: give colorKey their id, so it survives a change of name and is the same on every page.
- Next to the name, no tooltip. Standing alone (a crew row, a table cell), the tooltip carries the name.
- md (32px) in lists and tables, sm in dense rows and groups, lg and xl on a profile or an organization’s page.
- A group shows up to four, then +n, with the rest in its tooltip.