mirror of
https://github.com/huntabyte/shadcn-svelte.git
synced 2026-09-14 19:33:46 +08:00
4c6406f135
Co-authored-by: Aidan Bleser <aidanbleser35@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: AdrianGonz97 <31664583+AdrianGonz97@users.noreply.github.com>
1.9 KiB
1.9 KiB
title, description, component, links
| title | description | component | links |
|---|---|---|---|
| Separator | Visually or semantically separates content. | true |
Installation
{#snippet cli()} {/snippet} {#snippet manual()}Install bits-ui:
Copy and paste the following code into your project.
{#if viewerData} {/if} {/snippet}Usage
<script lang="ts">
import { Separator } from "$lib/components/ui/separator/index.js";
</script>
<Separator />
Vertical
Use orientation="vertical" for a vertical separator.
Menu
Vertical separators between menu items with descriptions.
List
Horizontal separators between list items.
API Reference
See the Bits UI Separator documentation.