Blankslate
newBootstrap 5 Blankslate component
Responsive blankslate built with the latest Bootstrap 5. Blankslate component is used as placeholders when there is a lack of content within a page or section.
Blankslate as placeholders to tell users what can do next when there is no content has been added yet, or is temporarily empty due to the nature of the feature.
Be sure to provide an action to add content as well.
Basic example
Wrap some content in the outer .blankslate
wrapper and add the .blankslate-heading
class to headings to give it the blankslate appearance.
You don't have access to this issue
Make sure the issue exists in this project. If it does, ask a project admin for permission to see the project's issues.
<div class="blankslate">
<h2 class="blankslate-heading">You don't have access to this issue</h2>
<p>Make sure the issue exists in this project.
If it does, ask a project admin for permission to see the project's issues.</p>
<div class="blankslate-actions">
<button class="btn btn-primary" type="button">Request access</button>
</div>
</div>
Images
Add the .blankslate-image
class to the image.

You don't have access to this issue
Make sure the issue exists in this project. If it does, ask a project admin for permission to see the project's issues.
<div class="blankslate">
<img class="blankslate-img" src="/images/blankslate/1.png" />
<h2 class="blankslate-heading">You don't have access to this issue</h2>
<p>Make sure the issue exists in this project.
If it does, ask a project admin for permission to see the project's issues.</p>
<div class="blankslate-actions">
<button class="btn btn-primary" type="button">Request access</button>
</div>
</div>
Actions
Add the .blankslate-actions
to any button or link wrappers.

You don't have access to this issue
Make sure the issue exists in this project. If it does, ask a project admin for permission to see the project's issues.
<div class="blankslate">
<img class="blankslate-img" src="/images/blankslate/1.png" />
<h2 class="blankslate-heading">You don't have access to this issue</h2>
<p>Make sure the issue exists in this project.
If it does, ask a project admin for permission to see the project's issues.</p>
<div class="blankslate-actions">
<button class="btn btn-primary" type="button">Request access</button>
<button class="btn btn-default" type="button">View permissions</button>
</div>
<div class="blankslate-actions">
<a class="fw-semibold" href="#">Learn more</a>
</div>
</div>
Blankslate width
Narrow
Use .blankslate-narrow
to narrow the width of blankslate container.

You don't have access to this issue
Make sure the issue exists in this project. If it does, ask a project admin for permission to see the project's issues.
<div class="blankslate blankslate-narrow">
<img class="blankslate-img" src="/images/blankslate/1.png" />
<h2 class="blankslate-heading">You don't have access to this issue</h2>
<p>Make sure the issue exists in this project.
If it does, ask a project admin for permission to see the project's issues.</p>
<div class="blankslate-actions">
<button class="btn btn-primary" type="button">Request access</button>
</div>
</div>
Full width
Use .mw-100
to expand the width of blankslate to the entire available width of parent container.

You don't have access to this issue
Make sure the issue exists in this project. If it does, ask a project admin for permission to see the project's issues.
<div class="blankslate mw-100">
<img class="blankslate-img" src="/images/blankslate/1.png" />
<h2 class="blankslate-heading">You don't have access to this issue</h2>
<p>Make sure the issue exists in this project.
If it does, ask a project admin for permission to see the project's issues.</p>
<div class="blankslate-actions">
<button class="btn btn-primary" type="button">Request access</button>
</div>
</div>