Avatar
An avatar shows the company an item belongs to, as a square logo. The Size axis offers sm, md and lg to match the density of the surface it sits on.
- Design
- Finished
- Level
- Stable
- Audit
- Nothing openat the audit of
- Last changed
- Resources
- Figma Propose a change
Preview


Usage
Do
- Set the logo by replacing the
Imagelayer's fill; leave it as-is when no logo is available and the placeholder shows through - Match
Sizeto the row it sits in —smin dense lists,lgon a company header
Don't
- Use for a person: this library has no person avatar, so add one rather than reusing this
- Crop a non-square logo to fit: pad it instead, so the mark keeps its proportions
Composition
- Contains an
Imagelayer carrying the logo, with abuilding-2icon behind it as the placeholder
Dependencies in Figma
Used by
Places 3 components from another library: Icon/building-2 / Size=16, Icon/building-2 / Size=20, Icon/building-2 / Size=24. This snapshot does not hold them, so this page cannot link to them or describe them.
Level checks
Stable
| Check | Level | Result |
|---|---|---|
| Audited | Ready | Passes |
| No errors open | Ready | Passes |
| Has a description | Ready | Passes |
| Usage and Don't written | Ready | Checked at the next audit |
| Every layer named | Ready | Passes |
| In code | Ready | Passes |
| No warnings open | Stable | Passes |
| Code gen notes written | Stable | Checked at the next audit |
| Auto layout throughout | Stable | Checked at the next audit |
| Matches the design | Stable | Passes |
Anatomy
| # | Part | Shown | Component |
|---|---|---|---|
| 1 | Icon | Always | building-2 |
Properties
| Property | Type | Values | Default |
|---|---|---|---|
| Size | Variant | smmdlg | sm |
Implementation
| Figma | Code | Why |
|---|---|---|
| The component, inside stroke | border with box-sizing: border-box and padding less the stroke, or box-shadow: inset 0 0 0 <width> | Figma's inside stroke takes no space; a border does. |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Description | Docs | Patch | Patch |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Avatar: stroke | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Avatar: stroke | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Nested component renamed (3 layers) | Not graded | Not graded | Not graded | |
| Its values moved | Restyled | Minor | Minor | |
| Layer Icon | Added | Minor | Patch | |
| Component | Added | Minor | Minor |