Skip to content
nexubDesign System
v11.9.0

Components · Form & Input

Action Bar

BetaAdded v6.4.0

Save and cancel that stay in view at the bottom of a long form.

import { ActionBar } from '@nexub/react';
View as Markdown

Examples

Unsaved changes

Props

Props
PropTypeDefaultDescription
messageReact.ReactNode—Status on the start side, e.g. "Unsaved changes"; announced politely and names the region.
childrenrequiredReactNode—The actions, primary last.
aria-labelstringthe message when it's a stringNames the region.

Accessibility

Notes

  • A region named by its message. Sticky at the bottom of its scrolling parent, so put it last in the form.

  • Pair with `useUnsavedChanges(dirty)` to warn before leaving the page.

On iOS & Android