Sheet
A named edge drawer for secondary workflows.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 { Sheet } from 'fractalsvelte';
</script>Usage
Usage
<script lang="ts">
import { Sheet } from 'fractalsvelte';
</script>
<Sheet />Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | - | The heading shown in the surface. |
trigger | string | 'Open sheet' | Label for the control that opens the surface. |
side | 'top' | 'right' | 'bottom' | 'left' | 'right' | Which edge the surface is anchored to. |
open | boolean | false | Whether the sheet is open. Supports bind:. |
