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.

Contents

Basic example

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

This is a blank slate

Use it to provide information when no dynamic content exists.

<div class="blankslate">
  <h3>This is a blank slate</h3>
  <p>Use it to provide information when no dynamic content exists.</p>
</div>

With Kickicons

When it helps the message, include .ki-lgs as the first elements in the blank slate. Be sure to use relevant icons.

This is a blank slate

Use it to provide information when no dynamic content exists.

<div class="blankslate">
  <span class="ki-lg ki-git-commit"></span>
  <span class="ki-lg ki-tag"></span>
  <span class="ki-lg ki-git-branch"></span>
  <h3>This is a blank slate</h3>
  <p>Use it to provide information when no dynamic content exists.</p>
</div>

Variations

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

Fixed width

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

This is a blank slate

Use it to provide information when no dynamic content exists.

<div class="blankslate has-fixed-width">
  <h3>This is a blank slate</h3>
  <p>Use it to provide information when no dynamic content exists.</p>
</div>

Capped

Removes the border-radius on the top corners.

This is a blank slate

Use it to provide information when no dynamic content exists.

<div class="blankslate capped">
  <h3>This is a blank slate</h3>
  <p>Use it to provide information when no dynamic content exists.</p>
</div>

Spacious

Significantly increases the vertical padding.

This is a blank slate

Use it to provide information when no dynamic content exists.

<div class="blankslate spacious">
  <h3>This is a blank slate</h3>
  <p>Use it to provide information when no dynamic content exists.</p>
</div>

No background

Removes the background-color and border.

This is a blank slate

Use it to provide information when no dynamic content exists.

<div class="blankslate clean-background">
  <h3>This is a blank slate</h3>
  <p>Use it to provide information when no dynamic content exists.</p>
</div>