+ The Drawer gives users a quick entry point to configuration and information. It should be used when + retaining context is beneficial to users. +
+fluent-drawer
+ + When a modal dialog is open, the rest of the page is dimmed out and cannot be interacted with. The tab + sequence is kept within the dialog and moving the focus outside the dialog will imply closing it. This + is the default type of the component. +
+type="modal"
+ + When a modal dialog is open, the rest of the page is dimmed out and cannot be interacted with. The tab + sequence is kept within the dialog and moving the focus outside the dialog will imply closing it. This is the + default type of the component. +
+type="modal"
+ + When a non-modal dialog is open, the rest of the page is not dimmed out and users can interact with the + rest of the page. This also implies that the tab focus can move outside the dialog when it reaches the + last focusable element. +
+type="non-modal"
+ + When a non-modal dialog is open, the rest of the page is not dimmed out and users can interact with the rest + of the page. This also implies that the tab focus can move outside the dialog when it reaches the last + focusable element. +
+type="non-modal"
+ + An inline Drawer is often used for navigation that is not dismissible. As it is on the same level as the + main surface, users can still interact with other UI elements. This could be useful for swapping between + different items in the main surface. +
+type="inline"
+ + An inline Drawer is often used for navigation that is not dismissible. As it is on the same level as the main + surface, users can still interact with other UI elements. This could be useful for swapping between different + items in the main surface. +
+type="inline"
+ + When a Drawer is invoked, it slides in from either the left or right side of the screen. This can be + specified by the position attribute. +
+default
+ + When a Drawer is invoked, it slides in from either the left or right side of the screen. This can be specified + by the position attribute. +
+position="start"
+ + The drawer component offers flexible positioning options to suit your layout needs. By using the position + attribute, you can easily place the drawer on either side of the screen. The attribute accepts values of + type DrawerPosition, which includes two options: 'start' and 'end'. The default position of the Drawer is + 'end'. +
+position="end"
+ The size attribute controls the width of the drawer. The default is medium.
+size="small"
+ The size attribute controls the width of the drawer. The default is medium.
+size="small"
+ The size attribute controls the width of the drawer. The default is medium.
+default
+ The size attribute controls the width of the drawer. The default is medium.
+ +size="large"
+ The size attribute controls the width of the drawer. The default is medium.
+size="full"
+ The Drawer can be sized to any custom width, by overriding the drawer-width CSS variable:
+var(--drawer-width)
+ The Drawer can be sized to any custom width, by overriding the drawer-width CSS variable:
+var(--drawer-width)
+