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 fractalsvelteImport
<script lang="ts">
import { Empty } from 'fractalsvelte';
</script>Usage
Usage
<script lang="ts">
import { Empty } from 'fractalsvelte';
</script>
<Empty />Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | - | The heading shown in the surface. |
description | string | - | Supporting text shown beneath the title. |
variant | 'dashed' | 'outline' | 'muted' | 'dashed' | Controls the empty-state surface treatment. |
