Separator

A thin divider for splitting content horizontally or vertically.

lily

A calm Svelte component library.

Docs
Components
GitHub

Installation

npx lily-svelte@latest add separator

Usage

<script lang="ts">
	import { Separator } from '$lib/components/ui/separator';
</script>
 
<Separator />

Vertical

Set orientation="vertical" inside a flex row. The separator stretches to the row height, so give the row a height.

<div class="flex h-5 items-center gap-4">
	<span>Docs</span>
	<Separator orientation="vertical" />
	<span>Components</span>
</div>

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

Quiet by design.