DocsAPI ReferenceComponents<ActionBar>

<ActionBar>

Render the Puck ActionBar. Use this when overriding the actionBar.

<ActionBar label="Actions">
  <ActionBar.Group>
    <ActionBar.Action onClick={() => console.log("Clicked!")}>

    </ActionBar.Action>
  </ActionBar.Group>
</ActionBar>
Interactive Demo
Actions

Props

PropExampleTypeStatus
children<div />ReactNodeRequired
label"Label"StringRequired

Required Props

children

The children for the ActionBar. Normally a fragment of <ActionBar.Action> components.

If this is a fragment, it will be rendered in a flex row.

label

The label for the ActionBar.