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 | Required | Description |
---|---|---|
border | boolean Add a border around this component | |
narrow | boolean | |
spacious | boolean | |
className | string Class name(s) for custom styling. |
Blankslate.Visual
Name | Required | Description |
---|
Blankslate.Heading
Name | Required | Description |
---|---|---|
as | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' |
Blankslate.Description
Name | Required | Description |
---|
Blankslate.PrimaryAction
Name | Required | Description |
---|---|---|
href | string Link to complete primary action. If defined, will render as an anchor instead of a button. |
Blankslate.SecondaryAction
Name | Required | Description |
---|---|---|
href | string Link to complete secondary action |