# Separator

Visually or semantically separates content.

Section: Components / Layout
Page: https://ui.heyramzi.com/components/separator
Import path: `@heyramzi/ui/shadcn/separator`

## Import

```ts
import { Separator } from "@heyramzi/ui/shadcn/separator";
```

## Demo

```svelte
<script lang="ts">
	import { Separator } from "@heyramzi/ui/shadcn/separator";
</script>

<div class="flex max-w-sm flex-col gap-4 text-sm">
	<div class="flex flex-col gap-1.5">
		<div class="leading-none font-medium">shadcn/ui</div>
		<div class="text-muted-foreground">The Foundation for your Design System</div>
	</div>
	<Separator />
	<div>A set of beautifully designed components that you can customize, extend, and build on.</div>
</div>
```

## API

| Prop | Type | Default | Notes |
| --- | --- | --- | --- |
| `ref` | `HTMLElement \| null` | `null` | bindable |
| `class` | `string` |  |  |
| `data-slot` | `string` | `"separator"` |  |

Every prop of `Separator.Root` from `bits-ui`.
