Blankslate
A sl-blankslate
component is a placeholder element that should be displayed when there is nothing else to be shown.
html
<sl-blankslate>
<span>Nothing to see here...</span>
</sl-blankslate>
Slots
The component includes multiple slots to cover various layouts.
Playground
html
<sl-blankslate>
<span slot="graphic">Graphic</span>
<span slot="heading">Heading</span>
<span>Nothing to see here...</span>
<span slot="actions">Actions</span>
</sl-blankslate>
Attributes
Heading
Modifies the heading element, defaults to h3
, helps with SEO
.
html
<sl-blankslate heading="h1">...</sl-blankslate>
<sl-blankslate heading="h2">...</sl-blankslate>
<sl-blankslate heading="h3">...</sl-blankslate>
<sl-blankslate heading="h4">...</sl-blankslate>
<sl-blankslate heading="h5">...</sl-blankslate>
<sl-blankslate heading="h6">...</sl-blankslate>