snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
26
apps/v4/examples/base/separator-menu.tsx
Normal file
26
apps/v4/examples/base/separator-menu.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
import { Separator } from "@/styles/base-nova/ui/separator"
|
||||
|
||||
export function SeparatorMenu() {
|
||||
return (
|
||||
<div className="flex items-center gap-2 text-sm md:gap-4">
|
||||
<div className="flex flex-col gap-1">
|
||||
<span className="font-medium">Settings</span>
|
||||
<span className="text-xs text-muted-foreground">
|
||||
Manage preferences
|
||||
</span>
|
||||
</div>
|
||||
<Separator orientation="vertical" />
|
||||
<div className="flex flex-col gap-1">
|
||||
<span className="font-medium">Account</span>
|
||||
<span className="text-xs text-muted-foreground">
|
||||
Profile & security
|
||||
</span>
|
||||
</div>
|
||||
<Separator orientation="vertical" className="hidden md:block" />
|
||||
<div className="hidden flex-col gap-1 md:flex">
|
||||
<span className="font-medium">Help</span>
|
||||
<span className="text-xs text-muted-foreground">Support & docs</span>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user