Module Solidtype_kobalte.NavigationMenu

module Arrow : sig ... end

An optional arrow element to render alongside the viewport content. Must be rendered in the viewport.

module CheckboxItem : sig ... end

An item that can be controlled and rendered like a checkbox.

module Content : sig ... end
module Group : sig ... end

A container used to group multiple `Menu.Item`s.

module GroupLabel : sig ... end

A component used to render the label of a `Menu.Group`. It won't be focusable using arrow keys.

module Icon : sig ... end

A small icon often displayed inside the menu trigger as a visual affordance for the fact it can be open. It renders a `▼` by default, but you can use your own icon by providing a `children`.

module Item : sig ... end

An item of the navigation menu.

module ItemDescription : sig ... end

An optional accessible description to be announced for the menu item. Useful for menu items that have more complex content (e.g. icons, multiple lines of text, etc.)

module ItemIndicator : sig ... end

The visual indicator rendered when the parent menu `CheckboxItem` or `RadioItem` is checked. You can style this element directly, or you can use it as a wrapper to put an icon into, or both.

module ItemLabel : sig ... end

An accessible label to be announced for the menu item. Useful for menu items that have more complex content (e.g. icons, multiple lines of text, etc.)

module Menu : sig ... end

Displays a menu to the user —such as a set of actions or functions— triggered by a button.

module Portal : sig ... end

Portals its children into the NavigationMenu.Viewport when the menu is open.

module RadioGroup : sig ... end

A container used to group multiple `Menu.RadioItem`s and manage the selection.

module RadioItem : sig ... end

An item that can be controlled and rendered like a radio.

module Root : sig ... end

A visually persistent menu common in desktop applications that provides quick access to a consistent set of commands.

module Separator : sig ... end

A separator visually or semantically separates content.

module Sub : sig ... end

Contains all the parts of a submenu.

module SubContent : sig ... end

The component that pops out when a submenu is open.

module SubTrigger : sig ... end

An item that opens a submenu.

module Trigger : sig ... end

The button that toggles the menubar menu or a menubar link.

module Viewport : sig ... end
val use_navigation_menu_context : unit -> Types.NavigationMenuContextValue.t