Actions Menu

The "more" button of a header, a panel or a card: an outlined ⋯ button with a short list of actions in a popover; destructive actions are red.

A block from @tectra-ng/blocks — it comes with tectra-ng, or alone: npm install @tectra-ng/blocks.

Features4APIThemingAccessibility

Basic

Give the actions as { id, label, icon?, danger? }; itemSelect returns the id once the menu has closed. tooltip names the button.

Platform team

8 members

Last action: none

Sizes

medium for page and panel headers; small — a 30px button — for cards and column headers.

Confirm

Because itemSelect comes after the menu has closed, a destructive action can open a confirm straight away; the focus goes back to the button when the confirm closes. Each row builds its own list — "Pause" or "Resume".

Nightly backup Every day at 02:00
Usage report Mondays at 09:00
Cache warm-up Paused

Design tokens

dt changes the tokens of one menu: here a wider list with larger, pill-shaped actions.