Skip to content
SENVENLI UI

Toolbar

A row of controls above a list or table; BulkBar shows actions for the selected rows.
Tools above a list
import { Toolbar, ToolbarSpacer, BulkBar } from "@senvenli/react/layout";

Examples

BulkBar

Appears while rows are selected, with their count and the actions for them.

Guidelines

When to use it

  • Filters, search and actions above a list.
  • Actions on selected rows (BulkBar).

Use something else when

  • Two or three related buttons, not a full row of controls. Button group
  • The actions fit under one button. Menu

Accessibility

Keyboard

KeysWhat happens
Arrow keysMoves between controls.

Built in

  • One tab stop for the toolbar.

You provide

  • A name for the toolbar.

API reference

Toolbar

childrenRequired
React.ReactNode

Compact (32px) controls acting on the view below: search, filters, date range, view switch, export.

aria-labelRequired
string

Names the toolbar ("Order tools").

BulkBar

selectedCountRequired
number

How many rows are selected; announced as it changes.

actionsRequired
React.ReactNode

The bulk actions (compact Buttons): "Send reminder", "Export".

onClearRequired
() => void

Clears the selection; the bar goes with it.

aria-labelRequired
string

Names the bar ("Selected orders").