Getting started
Components
The Sidebar header is a container for the application's name and associated icon. It is placed at the top of the Sidebar and can be used to orientate the user to the root of the application they are using.
The SidebarBody component is used to house the main content of the sidebar. Typically, this includes the Sidebar Navigation collection of components that can be used to compose your applications navigation structure.
SidebarBody
The SidebarBetaBadge component is used to indicate that a product or feature is in beta. It should be used in conjunction with the Sidebar navigation items.
SidebarBetaBadge
The SidebarFooter is used to house the collapse feature of the Sidebar. It is anchored to the foot of the Sidebar and should contain the SidebarCollapseButton component.
SidebarFooter
SidebarCollapseButton
The Sidebar incorporates a feature known as "Skip links". This feature provides users with the ability to bypass large, repeated content areas, such as navigation. Skip Links are essentially a hidden set of links that facilitate navigation to key points within the application.
Within the Sidebar, there are three types of skip links:
For these links to function correctly, it's vital to correctly assign unique ID references to the corresponding DOM elements. If these unique ID references are not correctly applied to the target DOM elements and passed to the Sidebar, the Skip Links will not function as intended.