--- title: Blankslate path: components/blankslate status: Stable source: 'https://github.com/primer/css/tree/master/src/blankslate' bundle: 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. ```html live

This is a blank slate

Use it to provide information when no dynamic content exists.

``` ## With Octicons When it helps the message, include (relevant) icons in your blank slate. Add the `.blankslate-icon` class to give icons the proper styling. ```html live

This is a blank slate

Use it to provide information when no dynamic content exists.

``` ## With graphic, button and link Add a graphic, button and/or link to add additional information and provide users a way to add content to this page. ```html live

You don’t seem to have any pull requests.

Pull requests help you discuss potential changes before they are merged into the base branch.

``` ## Variations Add an additional optional class to the `.blankslate` to change its appearance. ### Narrow `.blankslate-narrow` narrows the blankslate container to not occupy the entire available width. ```html live

You don’t seem to have any pull requests.

Pull requests help you discuss potential changes before they are merged into the base branch.

``` ### Large `.blankslate-large` increases the size of the text in the blankslate ```html live

You don’t seem to have any pull requests.

Pull requests help you discuss potential changes before they are merged into the base branch.

``` ### Spacious `.blankslate-spacious` significantly increases the vertical padding. ```html live

You don’t seem to have any pull requests.

Pull requests help you discuss potential changes before they are merged into the base branch.

``` **Note**: It's possible to combine variations. Large and spacious (`blankslate blankslate-large blankslate-spacious`) is often used toghether. ### Add border To add a border, wrap the blankstate component with the [Box component](/components/box). ```html live

You don’t seem to have any pull requests.

Pull requests help you discuss potential changes before they are merged into the base branch.

``` ### Capped Removes the `border-radius` on the top corners. ```html live

You don’t seem to have any pull requests.

Pull requests help you discuss potential changes before they are merged into the base branch.

```