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 fractalsvelte
Import
<script lang="ts">
	import { Sheet } from 'fractalsvelte';
</script>

Usage

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

<Sheet />

Props

PropTypeDefaultDescription
titlestring-The heading shown in the surface.
triggerstring'Open sheet'Label for the control that opens the surface.
side'top' | 'right' | 'bottom' | 'left''right'Which edge the surface is anchored to.
openbooleanfalseWhether the sheet is open. Supports bind:.