Resizable

Resizable panel groups with draggable handles.

Sidebar Drag the divider →
Content

Installation

npx lily-svelte@latest add resizable

Usage

<script lang="ts">
	import * as Resizable from '$lib/components/ui/resizable';
</script>
 
<Resizable.PaneGroup direction="horizontal">
	<Resizable.Pane defaultSize={50}>One</Resizable.Pane>
	<Resizable.Handle withHandle />
	<Resizable.Pane defaultSize={50}>Two</Resizable.Pane>
</Resizable.PaneGroup>

Built by levish. The source code is available on GitHub.

Quiet by design.