Nav Item components¶
Simple helpers around dmc menu related components.
Action item¶
A navbar action item (i.e. icon button without a menu). These can be opened in a new tab & can have callbacks associated with the id provided.
Mandatory Attributes are:
- id: the action item component id
- label: the action item label
- icon: the action item icon
- href: the url reference (either internal or external) on which to redirect on click.
Rendering:
An example of such a component in a dash application
Menu item¶
Component to create a navbar menu item.
Mandatory Attributes are:
- label: the action item label
- icon: the action item icon
- href: the url reference (either internal or external) on which to redirect on click.
An example of such a component in a dash application
Menu¶
Component to create a navbar menu. The menu items must be created beforehand & passed to this component.
Mandatory Attributes are:
- label: the action item label
- icon: the action item icon
- menu_items: the menu items (as defined in the previous section)
An example of such a component in a dash application


