The Gloss Section component is one of the fundamental building blocks of our design system. It's purpose is to serve as a flexible layout element for organizing and containing other components within your web pages. Its primary purpose is to provide a customizable container that enhances the structure and visual hierarchy of your content. Authors can adjust the background color to complement their design, modify the vertical padding to control spacing, and set the width of the inner content for optimal readability and alignment. This component is particularly useful for creating distinct sections, improving content presentation, and maintaining a consistent layout throughout your site.
Options and Variations
Background Color
There are a number of background colors that can be applied to the gloss section. The main purpose of this is to visually crate individual content sections as a user scrolls down the page. Alternating white and grey sections are the preferred aesthetic so not to distract from the main content on the page. However Gloss does offer a number of alternative colors for sections that require special attention or are important to highlight.
Default (white)
Primary (brand red)
Secondary (dark grey)
Primary light (light red)
Transparent (no background)
Muted (grey)
Secondary (teal/blue)
Gradient
Secondary light (light teal/blue)
Section Size (Height)
The Gloss section includes the options to adjust the padding above and below the contents inside the container. The default sets the preferred padding though there are also options for removing the padding completely, small, large, and extra large. This allows consistent spacing between sections throughout the page.
Remove Padding
Extra Small
Small
Default (medium)
Large
Extra Large
Do...
- Ensure the background color complements the overall design of your webpage.
- Adjust the vertical padding to provide adequate spacing around the content.
- Set the width of the inner content to enhance readability and alignment.
- Combine the Gloss Section with other layout components to build complex designs.
- Take advantage of the customizable options to highlight important content or calls to action.
- Utilize the Gloss Section to separate different types of content, making your page easier to navigate.
Don't...
- Use clashing background colors that can distract from the content.
- Overload the Gloss Section with too many components, which can make it look cluttered.
- Set excessively large vertical padding that could waste space.
- Place unrelated content within the same Gloss Section, which can confuse readers.
- Make every section look the same; use the Gloss Section to add variety to your layout.