Blankslate

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

  • @primer/react@35.28.0
  • Draft
  • Not reviewed for accessibility

Import

import {Blankslate} from '@primer/react/drafts'

Examples

View in Storybook

Props

Blankslate

NameDefaultDescription
border
boolean
narrow
boolean
spacious
boolean

Blankslate.Visual

No props

Blankslate.Heading

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

Blankslate.Description

No props

Blankslate.PrimaryAction

NameDefaultDescription
href
string

Blankslate.SecondaryAction

NameDefaultDescription
href
string