Blankslate

Blankslate is used as placeholder to tell users why content is missing.

Page navigation navigation

React
draftNot reviewed for a11y
Rails
readyNot reviewed for a11y

React examples

Default

The most common usage of a Blankslate component.

Welcome to the wiki

Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together.

With a secondary action

Welcome to the wiki

Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together.

Narrow variant

Welcome to the wiki

Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together.

Spacious variant

Welcome to the wiki

Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together.

With a border

Welcome to the wiki

Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together.

More code examples

See the Blankslate Storybook stories.

Props

Blankslate

NameRequiredDescription
border
boolean
Add a border around this component
narrow
boolean
spacious
boolean
className
string
Class name(s) for custom styling.

Blankslate.Visual

NameRequiredDescription

Blankslate.Heading

NameRequiredDescription
as
'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'

Blankslate.Description

NameRequiredDescription

Blankslate.PrimaryAction

NameRequiredDescription
href
string
Link to complete primary action. If defined, will render as an anchor instead of a button.

Blankslate.SecondaryAction

NameRequiredDescription
href
string
Link to complete secondary action