Edit page

Action Bar

The ActionBar component is made up of multiple Actions in the form of clickable icons. The action bar can be expanded to view actions with descriptive text or made smaller to view with just icons.

Import Syntax

Basic Usage

Controlled ActionBar

Dark

Grouped Actions

Bottom Actions

Position "end"

Props

ActionBar default

PropertyTypeRequiredDefaultDescription
positionEnumfalsestartAdjust alignment so ActionBar can be placed on the right side of the screen.
showCollapserBoolfalsetrueToggle visibility of the collapser control at the bottom of the ActionBar
collapseLabelNodefalseCollapseLabel used in the collapser
expandLabelNodefalseExpandLabel used in the collapser tooltip when collapsed
onToggleCollapseFuncfalse() => {}Event callback when the collapser is clicked
childrenNodefalse-The content of the component; should be TabNav and TabContents.
darkBoolfalse-Style prop to render a dark ActionBar.
collapsedBoolfalse-Programatically control collapsed state of the ActionBar

Action

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component
activeBoolfalse-Sets the action as the selected item in the ActionBar

ActionGroup

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component

BottomActionGroup

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component