Example of Template in React Menu Bar Component

/
/
Template

This sample demonstrates the template functionalities of the menu component. Interact with menu using hover / click to display sub menu pop-up items with its customized templates.

More Details...

Loading....
Description

The menu component has an option to customize menu items using the template property, so that the menu items can be rendered according to the requirement.

In this demo, the below customization are demonstrated.

  • Header menu items and the 'Products' sub menu items represents the customization of default rendering of li elements i.e. data.category in template.
  • 'Services' sub menu item represent the customization of li element with badge component.
  • 'About Us' sub menu item showed with card component in a single li.

For more information, refer to the templates section in the documentation.