sidebar
v0.88.2arrow_drop_down






Called before a sidebar begins to animate out.
Called after a sidebar has finished animating out.
Called when a sidebar has finished animating in.
Called when a sidebar begins animating in.
A sidebar hides additional content beside a page.
A pushable sub-component for Sidebar.
A pushable sub-component for Sidebar.
Name | Type | Default value | Description |
---|---|---|---|
as | elementType | An element type to render as (string or function). | |
animation | 'overlay' | 'push' | 'scale down' | 'uncover' | 'slide out' | 'slide along' | Animation style. | |
children | node | Primary content. | |
className | string | Additional classes. | |
content | custom | Shorthand for primary content. | |
direction | 'top' | 'right' | 'bottom' | 'left' | 'left' | Direction the sidebar should appear on. |
onHide | function | React’s original SyntheticEvent. | |
onHidden | function | ||
onShow | function | ||
onVisible | function | ||
target | custom | custom | documentRef | A sidebar can handle clicks on the passed element. |
visible | bool | false | Controls whether or not the sidebar is visible on the page. |
width | 'very thin' | 'thin' | 'wide' | 'very wide' | Sidebar width. | |
as | elementType | An element type to render as (string or function). | |
children | node | Primary content. | |
className | string | Additional classes. | |
content | custom | Shorthand for primary content. | |
as | elementType | An element type to render as (string or function). | |
children | node | Primary content. | |
className | string | Additional classes. | |
content | custom | Shorthand for primary content. | |
dimmed | bool | Controls whether or not the dim is displayed. |