Separator

Garis pembatas horizontal atau vertikal.

bun x bosia@latest add separator

Garis pembatas horizontal atau vertikal.

Preview

Above

Below

Left Center Right

Props

Prop Type Default
orientation "horizontal" | "vertical" "horizontal"

Penggunaan

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

<p>Above</p>
<Separator />
<p>Below</p>

Vertikal

<div class="flex h-8 items-center gap-4">
	<span>Left</span>
	<Separator orientation="vertical" />
	<span>Right</span>
</div>