Empty

Empty states/blank slates are commonly used as placeholders for first time use, empty data and error screens.

<script>
    import {Empty, Icon, Button} from '$lib'
</script>

<Empty offset="">
    <Icon slot="icon" icon="home" size="3x" color="primary" />
    <h1 slot="title">Title</h1>
    <p slot="subtitle">Subtitle</p>
    <Button slot="action" variant="primary">Action</Button>
</Empty>

Title

Subtitle

© 2022 — 2023 BASF SE

API Empty

<slot name="icon">: HTMLelement | SvelteComponent
Icon in Empty
HTMLelement | SvelteComponent
<slot name="title">: HTMLelement | SvelteComponent
Empty title or header
HTMLelement | SvelteComponent
<slot name="subtitle">: HTMLelement | SvelteComponent
Empty subtitle
HTMLelement | SvelteComponent
<slot name="action">: HTMLelement | SvelteComponent
Empty footer
HTMLelement | SvelteComponent