The Drawer enables you to customize the content of its items.
To customize the appearance of the items, use the
item property of the Drawer.
The following example demonstrates how to customize the look and feel of the drawer items.
The Drawer component works with a flat structure of items by design. However many real world scenarios require a navigation with hierarchical structure.
The following example demonstrates how to achieve this by toggling the visibility of the Drawer items depending on the currently selected item.