Module: Shadcn::Menubar
- Extended by:
- Parts
- Defined in:
- app/components/shadcn/menubar.rb,
app/components/shadcn/menubar/preview.rb,
app/components/shadcn/menubar/component.rb,
app/components/shadcn/menubar/sub/component.rb,
app/components/shadcn/menubar/menu/component.rb,
app/components/shadcn/menubar/content/component.rb,
app/components/shadcn/menubar/trigger/component.rb,
app/components/shadcn/menubar/sub_content/component.rb,
app/components/shadcn/menubar/sub_trigger/component.rb
Overview
The Menubar family — sixteen slots, and the third built on the dropdown's.
Measured against dropdown-menu.tsx: eight carry byte-identical class
strings once the prefix is normalised, and those are declared with from:.
The rest differ for real and are written out: the items round to rounded-xs
where the dropdown rounds to rounded-sm, the sub-trigger takes
outline-none rather than outline-hidden, and anything reading a
--radix-* property reads --radix-menubar-*.
Defined Under Namespace
Modules: Content, Menu, Sub, SubContent, SubTrigger, Trigger Classes: Component, Preview