Selecting some UI element on the main page can trigger the drawer to slide in from the right, for example clicking ‘Help’ in the header.
A drawer can be dismissed by clicking the included ‘x’ icon or by selecting the trigger element again.
The drawer component offers a convenient method for presenting secondary information which doesn't need to be immediately visible.
Usage Guidelines
Drawers should contain secondary content which only needs to be presented when specifically requested by the user, such as help information.
Features
Dependencies
None
Documents
Selecting some UI element on the main page can trigger the drawer to slide in from the right, for example clicking ‘Help’ in the header.
A drawer can be dismissed by clicking the included ‘x’ icon or by selecting the trigger element again.
The basic version of the drawer has a section for a title at the top and a built in close ‘x’ icon.
Content may populate the area below this with 20px margins.
If the drawer is presenting a list of items, selecting one of them should transition the drawer to the detail view. This adds a back label and icon for returning to the originating view.
The drawer maintains the same behavior all the way down to the extra small breakpoint, at which point it begins taking up 100% of the viewport width.
Initial version.