Fulldev UI

Visually or semantically separates content.

shadcn/ui
The Foundation for your Design System
A set of beautifully designed components that you can customize, extend, and build on.

Installation

npx shadcn@latest add @fulldev/separator

Usage

import { Separator } from "@/components/ui/separator"
<Separator />

Separator is decorative by default (role="none"). Pass decorative={false} when it conveys structure to assistive technology; it then renders role="separator" with aria-orientation.

Vertical

Use orientation="vertical" for a vertical separator. It stretches to the height of a flex row.

Blog
Docs
Source

Vertical separators between menu items with descriptions.

SettingsManage preferences
AccountProfile & security

List

Horizontal separators between list items.

Item 1
Value 1
Item 2
Value 2
Item 3
Value 3

RTL

shadcn/ui
الأساس لنظام التصميم الخاص بك
مجموعة من المكونات المصممة بشكل جميل يمكنك تخصيصها وتوسيعها والبناء عليها.

API Reference

Source: src/components/ui/separator

PropTypeDefault
orientation"horizontal" | "vertical""horizontal"
decorativebooleantrue

Separator writes data-orientation and a data-horizontal or data-vertical attribute for styling.