Navigationsrc/components/ui/menubar.tsx

Menubar

A horizontal application menu with dropdown content.

Preview

Installation

Copy the component source into your project with `degit`. This port is intentionally not distributed as an npm package.

bunx degit https://github.com/LiasCode/shadcn-preact/src/components/ui#main ./src/components/ui

Usage

import { Menubar } from "@/components/ui/menubar"

export function Example() {
  return <Menubar>Menubar</Menubar>
}

API Reference

ExportPurpose
MenubarComposable part exported by `@/components/ui/menubar`.