Blankslate

Blankslates are for when there is a lack of content within a page or section. Use them as placeholders to tell users why something isn't there. Be sure to provide an action to add content as well.

Basic example

Wrap some content in the outer .blankslate wrapper to give it the blankslate appearance.

With Octicons

When it helps the message, include (relevant) icons in your blank slate. Add .blankslate-icon to any .mega-octicons as the first elements in the blankslate, like so.

Variations

Add an additional optional class to the .blankslate to change its appearance.

Narrow

Narrows the blankslate container to not occupy the entire available width.

Spacious

Significantly increases the vertical padding.

Large

Increases the size of the text in the blankslate

Add border

To add a border, wrap the blankstate component with the Box component.

Capped

Removes the border-radius on the top corners.

Edit this page on GitHub
1 contributorcolebemis
Last edited by colebemis on August 14, 2019