snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
22
apps/v4/registry/new-york-v4/examples/separator-demo.tsx
Normal file
22
apps/v4/registry/new-york-v4/examples/separator-demo.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import { Separator } from "@/registry/new-york-v4/ui/separator"
|
||||
|
||||
export default function SeparatorDemo() {
|
||||
return (
|
||||
<div>
|
||||
<div className="space-y-1">
|
||||
<h4 className="text-sm leading-none font-medium">Radix Primitives</h4>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
An open-source UI component library.
|
||||
</p>
|
||||
</div>
|
||||
<Separator className="my-4" />
|
||||
<div className="flex h-5 items-center space-x-4 text-sm">
|
||||
<div>Blog</div>
|
||||
<Separator orientation="vertical" />
|
||||
<div>Docs</div>
|
||||
<Separator orientation="vertical" />
|
||||
<div>Source</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user