Every example is a complete Vue file. Copy it into an app that has the registry installed, or open it in StackBlitz.
Between sections
A line across.
Order #10482Placed today at 09:12
Items3
Total$128.00
SeparatorHorizontal.vue
<script setup lang="ts">
import { Separator } from '@/components/ui/separator'
</script>
<template>
<div class="flex w-full max-w-80 flex-col gap-(--bh-space-150) [font:var(--bh-font-body-default)] text-(--bh-color-text)">
<div class="flex flex-col gap-(--bh-space-050)">
<span class="[font:var(--bh-font-heading-xsmall)]">Order #10482</span>
<span class="text-(--bh-color-text-subtle)">Placed today at 09:12</span>
</div>
<Separator />
<div class="flex justify-between"><span>Items</span><span>3</span></div>
<div class="flex justify-between"><span>Total</span><span>$128.00</span></div>
</div>
</template>Between items in a row
A line down, such as between links.
ERP connectorVersion 2.4Updated 3 days ago
SeparatorVertical.vue
<script setup lang="ts">
import { Separator } from '@/components/ui/separator'
</script>
<template>
<!-- Vertical lines between facts on one row. They are decorative: the facts read fine without them. -->
<div class="flex h-(--bh-space-250) items-center gap-(--bh-space-150) text-(--bh-color-text-subtle) [font:var(--bh-font-body-small)]">
<span>ERP connector</span>
<Separator orientation="vertical" />
<span>Version 2.4</span>
<Separator orientation="vertical" />
<span>Updated 3 days ago</span>
</div>
</template>