Blankslate
Blankslate is used as placeholder to tell users why content is missing.
Page navigation navigation
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
| Name | Default | Description |
|---|---|---|
border | booleanAdd a border around this component | |
narrow | boolean | |
spacious | boolean | |
className | stringClass name(s) for custom styling. | |
size | 'medium' | 'small' | 'medium' | 'large'The size of the componeont |
Blankslate.Visual
Blankslate.Heading
| Name | Default | Description |
|---|---|---|
as | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' |
Blankslate.Description
Blankslate.PrimaryAction
| Name | Default | Description |
|---|---|---|
href | stringLink to complete primary action. If defined, will render as an anchor instead of a button. |
Blankslate.SecondaryAction
| Name | Default | Description |
|---|---|---|
href | stringLink to complete secondary action |