--- 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

You don’t seem to have any pull requests.

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

``` ## With Octicons When it helps the message, include (relevant) icons in your blank slate. Add `.blankslate-icon` to any `.mega-octicon`s as the first elements in the blankslate, like so. ```html live

This is a blank slate

Use it to provide information when no dynamic content exists.

``` ## 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. ```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 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.

``` ### 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.

``` ### 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.

```