@shcnwc/shadcn-menubar-web-component
v1.3.2
Published
A visually persistent menu common in desktop applications that provides quick access to a consistent set of commands.
Readme
Menubar
A visually persistent menu common in desktop applications that provides quick access to a consistent set of commands.
Installation
npm install @shcnwc/shadcn-menubar-web-componentUsage
<script type="module">
import "@shcnwc/shadcn-menubar-web-component";
</script>
<menubar-root>
<menubar-menu>
<menubar-trigger>file</menubar-trigger>
<menubar-content>
<menubar-item>
new tab
<menubar-shortcut>⌘t</menubar-shortcut>
</menubar-item>
<menubar-item>new window</menubar-item>
<menubar-separator />
<menubar-item>share</menubar-item>
<menubar-separator />
<menubar-item>print</menubar-item>
</menubar-content>
</menubar-menu>
</menubar-root>Links
Contributing
Contributions are welcome! Please open an issue or pull request on GitHub.
License
This project is licensed under the MIT License.
