Component Blueprints

Brand Band

The brand band provides theming capability that adds personality and improves information density and contrast
<div class="slds-brand-band slds-brand-band_large"></div>

Base#

This is the most common use case for the brand band. Our default size is slds-brand-band_medium. This will give the brand band image a height of 12.5rem or 200px.

The brand band has a gradient fade into the background color of the page. A dark variant of the page background color fades down from the top of the brand band.

<div class="slds-brand-band slds-brand-band_medium"></div>

Brand band sizes#

The brand band comes with 3 sizes — small, medium and large. These will adjust the height of the brand band image.

Small:

<div class="slds-brand-band slds-brand-band_small"></div>

Medium (Default):

<div class="slds-brand-band slds-brand-band_medium"></div>

Large:

<div class="slds-brand-band slds-brand-band_large"></div>

Removing the brand band image#

If you need to remove the brand band image from the component, you can simply pass in slds-brand-band_none to only display the page background color.

<div class="slds-brand-band slds-brand-band_none"></div>

Using the group background image#

<div class="slds-brand-band slds-brand-band_medium slds-brand-band_group"></div>

Using the user profile background image#

<div class="slds-brand-band slds-brand-band_medium slds-brand-band_user"></div>

Overview of CSS Classes#

Selector.slds-brand-band
Summary
Supportdev-ready
Restrictdiv
VariantTrue
Selector.slds-brand-band_cover
Summary

Changes background image to be set to cover rather than contain

Restrict.slds-brand-band
ModifierTrue
Selector.slds-brand-band_small
Summary

Sets height of brand band to

Restrict.slds-brand-band
ModifierTrue
Selector.slds-brand-band_medium
Summary

Sets height of brand band to

Restrict.slds-brand-band
ModifierTrue
Selector.slds-brand-band_large
Summary

Sets height of brand band to

Restrict.slds-brand-band
ModifierTrue
Selector.slds-brand-band_none
Summary

Removes image but keeps page background

Restrict.slds-brand-band
ModifierTrue
Selector.slds-brand-band_group
Summary

Uses the group banner image as the page background image

Restrict.slds-brand-band
ModifierTrue
Selector.slds-brand-band_user
Summary

Uses the user profile banner image as the page background image

Restrict.slds-brand-band
ModifierTrue

Brand Band Release Notes

2.19

Fixed

  • Fixed base brand band, brand band group and brand band user hardcoded image paths