Empty

Explain an empty state and offer the next step.

Examples

Installation

Install the package, then import only the components a route uses. Exports are tree-shakable.

Install
pnpm add fractalsvelte
Import
<script lang="ts">
	import { Empty } from 'fractalsvelte';
</script>

Usage

Usage
<script lang="ts">
	import { Empty } from 'fractalsvelte';
</script>

<Empty />

Props

PropTypeDefaultDescription
titlestring-The heading shown in the surface.
descriptionstring-Supporting text shown beneath the title.
variant'dashed' | 'outline' | 'muted''dashed'Controls the empty-state surface treatment.