Uqudo UIregistry

Separator

Visually or semantically separates content.

Radix Primitives

An open-source UI component library.

Blog
Docs
Source

Installation

npx shadcn@latest add @uqudo/separator

Usage

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

A vertical separator stretches to the height of its flex parent, so give the parent an explicit height:

<div className="flex h-5 items-center space-x-4 text-sm">
  <div>Blog</div>
  <Separator orientation="vertical" />
  <div>Docs</div>
</div>

API Reference

Separator

Prop

Type

The rendered element carries data-slot="separator".

On this page