Actions
Buttons and one-press commands. 8 live React parts, each in nine looks.
- Consequence preview: A risky action that shows what it will do before it runs: one headline sentence, what blocks it and what it also reaches as bands, then the rest as cards with a number each (changes, tells with the people's initials, keeps, can't be undone, not known); with a time dimension the affected items stand as dated tiles and a cut you drag lights them, rippling out from this one, while the counts and the button (named for the result) follow.
- Theme switch: The light/dark control: the page changes in one of four transitions starting from the button (reveal, eclipse, split, rise), and the icon turns between sun and moon.
- Confirm morph: A destructive action that asks in place: the button morphs into its question, then into working, then into the result with Undo or Retry, without a dialog.
- Swipe actions: Row actions behind a swipe on touch screens and a two-finger swipe on a trackpad, and at the row's end for pointer and keyboard (a ⋯ menu in a narrow row, icon buttons in a wide one); a full swipe runs the edge action.
- Hold to confirm: Confirms a costly action by holding instead of clicking: a fill sweeps across while held and drains if let go early; pointer, touch, Space and Enter all hold.
- Split button: One obvious action joined to a menu of close alternatives; both halves are real buttons and the menu uses the shared menu rows.
- Copy button: Copies a value and confirms in place: the icon becomes a check and the label says Copied; a refused copy says so instead of pretending.
- Button: The action control: five weights and a brand fill, a buy/sell tone, sm/md/lg and a 44 px touch size, icon-only, a loading state that keeps its size and focus, and a label that changes in place.
Install the parts you need in your React app as compiled packages or editable source. Get Beamline · Connect your agent
Other categories: Blocks · Trading · Charts & data-vis · AI & agents · Motion & effects · Voice & audio · Dashboard · Content & display · Data & tables · Form controls · Overlays · Feedback · Navigation · Layout
Guides: React performance lessons from 517 examples · Build a SaaS settings page in React · Build your own React UI style with Beamline
Part of Beamline UI: polished, editable React components and complete screens for custom applications. Build your own style from any look; tokens, fonts, radii, motion; not only colours.