Compose the card and its actions as parts; the actions bloom out of the card corner.
workflow-node.tsx
CornerBloom
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| open | boolean | — | Open (controlled). Leave it out to let hover, keyboard focus, and a tap open the bloom. |
| default | boolean | false | Open at the first render (uncontrolled). Default false. |
| on | — | Called with the next open state on hover, focus, tap, Escape, or a press outside. | |
| corner | "bottom-end""bottom-start""top-end""top-start" | "top-end" | The corner the actions bloom from. start and end follow the text direction. Default top-end. |
| rounded | number | 20 | The corner radius of the surface in px: the actions ride a path concentric with it. Default 20. |
| gap | number | 12 | The air between the surface and the actions in px. Default 12. |
| size | "default""lg""sm" | "default" | The action size: sm 32, default 36, lg 40 px (each with a 44px touch target). |
| disabled | boolean | false | No bloom: the actions stay folded and do not take focus. |
| children | ReactNode | — | A CornerBloomSurface and a CornerBloomActions. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
CornerBloomSurface
<div>| Prop | Type | Default | Description |
|---|---|---|---|
From Base UIUseRenderBase UI docs | |||
| render | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
CornerBloomActions
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| class | string | — | |
From Base UIToolbar.RootBase UI docs | |||
| disabled | boolean | — | |
| orientation | "horizontal""vertical" | 'horizontal' | The orientation of the toolbar. |
| loop | boolean | true | If true, using keyboard navigation will wrap focus to the other end of the toolbar once the end is reached. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
CornerBloomAction
<button>| Prop | Type | Default | Description | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| class | string | — | ||||||||||||
From Base UIToolbar.ButtonBase UI docs | ||||||||||||||
| disabled | boolean | false | When true the item is disabled. | |||||||||||
| focusable | boolean | true | When true the item remains focusable when disabled. | |||||||||||
| render | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. | ||||||||||||
| ||||||||||||||
| ...props | <button> attributes | — | Every other attribute goes to the <button>, with a ref. | |||||||||||
CornerBloomLinkAction
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| class | string | — | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
| Tab | Moves the focus onto the first action and opens the bloom; the next Tab leaves it. |
|---|---|
| Left ArroworRight Arrow | Moves the focus to the previous or the next action. |
| HomeorEnd | Moves the focus to the first or the last action. |
| Escape | Closes the bloom and takes the focus off the folded action. |











