
The combination of menu items, menu components and menus creates a hierarchical structure as shown in An example of a menu hierarchy. Items in a menu inherit values from their parent, allowing similar elements to share relevant properties whenever possible.
The menu below was created using 5 menu items, 4 of which were grouped together in 2 menu-components. These menu-components were then combined with the fifth item in the menu itself. Note that the :interaction keyword was used with the second menu component to make menu item number three a radio button.
Figure 6.5 An example of a menu hierarchy