For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
0
Sponsor

Separator

Visually or semantically separates content.

shadcn-cssinjs

StyleX-styled Base UI components.

DocsComponentsRegistry
import { Separator } from "@/components/separator/separator";

export function SeparatorDemo() {
  return (
    <div>
      <div style={{ display: "flex", flexDirection: "column", gap: 4 }}>

Installation

$ pnpm dlx shadcn@latest add https://shadcn-cssinjs.vercel.app/r/separator.json

Usage

import { Separator } from "@/components/ui/separator/separator";
<Separator />
<Separator orientation="vertical" />

Examples

Vertical

Use orientation="vertical" inside a flex row.

ProfileSettingsLogout
import { Separator } from "@/components/separator/separator";

export function SeparatorVertical() {
  return (
    <div
      style={{

RTL

To enable right-to-left support, see the RTL guide.

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

import * as React from "react";

import { useTranslation } from "@/components/language-selector";
import type { Translations } from "@/components/language-selector";

API Reference

See the Base UI documentation for the full API.