Grid

The grid system uses a series of containers, rows and columns to layout and align content. It’s built with flexbox and is fully responsive.

The Dell Design System grid uses the 12-column grid of Bootstrap. See the Bootstrap site for examples of how to use the grid and columns (https://getbootstrap.com/).

The Bootstrap 3 grid was previously used by the Dell Design System, however the Bootstrap 4 grid differs in the following ways:

  • There is one more breakpoint than before (smartphone in landscape orientation).
  • All breakpoints have been renamed. For example, "small" (SM) is now "medium" (MD).
  • Although our designs can now differentiate between a smartphone in landscape (SM) and portrait (XS) orientations, the prior design system didn't permit this, so SM and XS breakpoints will share the same designs pending future evolution of our components.

The ".dds__" class prefix is used to define containers, rows and columns.

The Bootstrap 4 Grid

<div class="render-html"><table class="dds__table dds__table-hover dds__table-responsive-lg"><thead><tr><th scope="col"></th><th scope="col">Extra small<br />&lt;576px</th><th scope="col">Small<br />&ge;576px</th><th scope="col">Medium<br />&ge;768px</th><th scope="col">Large<br />&ge;992px</th><th scope="col">Extra Large<br />&ge;1200px</th></tr></thead><tbody><tr><th scope="row">Max container width</th><td>None (auto)</td><td tabindex="-1">540px</td><td>720px</td><td>960px</td><td>1140px</td></tr><tr><th scope="row">Class prefix</th><td>.dds__col-</td><td tabindex="-1">.dds__col-sm-</td><td>.dds__col-md-</td><td>.dds__col-lg-</td><td>.dds__col-xl-</td></tr><tr><th scope="row"># of columns</th><td colspan=5>12</td></tr><tr><th scope="row">Gutter width</th><td colspan=5>30px (15px on each side of column)</td></tr><tr><th scope="row">Nestable</th><td colspan=5>Yes</td></tr><tr><th scope="row">Column ordering</th><td colspan=5>Yes</td></tr></tbody></table></div>

Responsive Grid Classes

The following images show how a container behaves at different breakpoints based upon its grid class definitions.

Container uses 12 columns at XS breakpoint

Container uses 10 columns at SM breakpoint

Container uses 8 columns at MD breakpoint

Container uses 6 columns at LG breakpoint

Container uses 4 columns at XL breakpoint

Common Grid Layouts

Resize your browser window to see the containers respond to different breakpoints.

Single Container

<div class="render-html"><div class="dds__container"><div class="dds__row row-grid"><div class="dds__col-xl-12"><div class="div-column-graphic"><div class="div-column"><div>dds__col-xl-12 (or simply "dds__col")</div></div></div></div><div class="grid-lines-front"><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div></div></div></div></div>

2-Up Containers

<div class="render-html"><div class="dds__container"><div class="dds__row row-grid"><div class="dds__col-xs-12 dds__col-lg-6 dds__mb-2"><div class="div-column-graphic"><div class="div-column"><div>dds__col-xs-12, dds__col-lg-6</div></div></div></div><div class="dds__col-xs-12 dds__col-lg-6 dds__mb-2"><div class="div-column-graphic"><div class="div-column"><div>dds__col-xs-12, dds__col-lg-6</div></div></div></div><div class="grid-lines-front"><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div></div></div></div></div>

3-Up Containers

<div class="render-html"><div class="dds__container"><div class="dds__row row-grid"><div class="dds__col-xs-12 dds__col-md-6 dds__col-lg-4 dds__mb-2"><div class="div-column-graphic"><div class="div-column"><div>dds__col-xs-12, dds__col-md-6, dds__col-lg-4</div></div></div></div><div class="dds__col-xs-12 dds__col-md-6 dds__col-lg-4 dds__mb-2"><div class="div-column-graphic"><div class="div-column"><div>dds__col-xs-12, dds__col-md-6, dds__col-lg-4</div></div></div></div><div class="dds__col-xs-12 dds__col-md-6 dds__col-lg-4 dds__mb-2"><div class="div-column-graphic"><div class="div-column"><div>dds__col-xs-12, dds__col-md-6, dds__col-lg-4</div></div></div></div><div class="grid-lines-front"><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div></div></div></div></div>

4-Up Containers

<div class="render-html"><div class="dds__container"><div class="dds__row row-grid"><div class="dds__col-xs-12 dds__col-sm-6 dds__col-md-4 dds__col-lg-3 dds__mb-2"><div class="div-column-graphic"><div class="div-column"><div>dds__col-xs-12, dds__col-sm-6, dds__col-md-4, dds__col-lg-3</div></div></div></div><div class="dds__col-xs-12 dds__col-sm-6 dds__col-md-4 dds__col-lg-3 dds__mb-2"><div class="div-column-graphic"><div class="div-column"><div>dds__col-xs-12, dds__col-sm-6, dds__col-md-4, dds__col-lg-3</div></div></div></div><div class="dds__col-xs-12 dds__col-sm-6 dds__col-md-4 dds__col-lg-3 dds__mb-2"><div class="div-column-graphic"><div class="div-column"><div>dds__col-xs-12, dds__col-sm-6, dds__col-md-4, dds__col-lg-3</div></div></div></div><div class="dds__col-xs-12 dds__col-sm-6 dds__col-md-4 dds__col-lg-3 dds__mb-2"><div class="div-column-graphic"><div class="div-column"><div>dds__col-xs-12, dds__col-sm-6, dds__col-md-4, dds__col-lg-3</div></div></div></div><div class="grid-lines-front"><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div><div class="grid-line"></div></div></div></div></div>

Do's and Don'ts

Types

Variants

Common Button Labels and Usage

Title case, 2-3 words maximum.
Do not combine actions in a label (exception: "Customize & Buy").
If standard labels don't fit the button's purpose, align label with the task the user is attempting.

Please refer to the Dell Technologies branding website, https://brand.delltechnologies.com/faq/#voice, for further information regarding call-to-action labels and usage.

Button Label:
Corresponding Action:
Add to Cart
Search
Cancel
Save
Edit
Delete
Continue
Next/Previous
Submit
Select
Sign In/Sign Out
View Details
Ok/Cancel
Learn More
Close
Takes users to Cart page, with item added
Used for search buttons
Takes users back to entry point for a task
Used to save an item
Navigates users to change an item
Deletes an item on the page, usually with a verification step
Used as progression
Used as forward and backward navigation (Next is primary, Previous is secondary)
Used to submit a task or info
Used for choosing items in a task flow
Authentication standard, for consistency do not use Log In/Log Out or Signin/Signout
Used instead of “Select” in cases of product details or within learn content
For use in modal verification steps when more specific CTAs will not fit due to space
Used to link users to more learning content or contextual help
Used within modal windows

Example Grid Code

<div class="dds__container"> <!-- Stack the columns on mobile by making one full-width and the other half-width --> <div class="dds__row"> <div class="dds__col-12 dds__col-md-8">.dds__col-12 .dds__col-md-8</div> <div class="dds__col-6 dds__col-md-4">.dds__col-6 .dds__col-md-4</div> </div> <!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop --> <div class="dds__row"> <div class="dds__col-6 dds__col-md-4">.dds__col-6 .dds__col-md-4</div> <div class="dds__col-6 dds__col-md-4">.dds__col-6 .dds__col-md-4</div> <div class="dds__col-6 dds__col-md-4">.dds__col-6 .dds__col-md-4</div> </div> <!-- Columns are always 50% wide, on mobile and desktop --> <div class="dds__row"> <div class="dds__col-6">.dds__col-6</div> <div class="dds__col-6">.dds__col-6</div> </div>
</div>

No items found.

No items found.

No items found.

To be determined.

The W3C Web Accessibility Initiative (WAI) develops standards and support materials to help you understand and implement accessibility.

Please refer to these tutorials for page structure from Web Accessibility Tutorials.