Skip to content

Corner Bloom

Pro

Card actions that bloom out of one corner of the card on hover or focus, joined to it by a liquid neck, and melt back in when you leave.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 21, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Corner Bloom needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
24
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Compose the card and its actions as parts; the actions bloom out of the card corner.

workflow-node.tsx

CornerBloom

<div>
PropTypeDefaultDescription
openboolean—Open (controlled). Leave it out to let hover, keyboard focus, and a tap open the bloom.
defaultOpenbooleanfalseOpen at the first render (uncontrolled). Default false.
onOpenChange—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.
roundednumber20The corner radius of the surface in px: the actions ride a path concentric with it. Default 20.
gapnumber12The 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).
disabledbooleanfalseNo bloom: the actions stay folded and do not take focus.
childrenReactNode—A CornerBloomSurface and a CornerBloomActions.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

CornerBloomSurface

<div>
PropTypeDefaultDescription
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>
PropTypeDefaultDescription
classNamestring—
From Base UIToolbar.RootBase UI docs
disabledboolean—
orientation"horizontal""vertical"'horizontal'The orientation of the toolbar.
loopFocusbooleantrueIf 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>
PropTypeDefaultDescription
classNamestring—
From Base UIToolbar.ButtonBase UI docs
disabledbooleanfalseWhen true the item is disabled.
focusableWhenDisabledbooleantrueWhen 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>
PropTypeDefaultDescription
classNamestring—
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use it for actions on the card itself, such as connect, duplicate, or settings, that people use often but not always.
  • Set rounded to the radius of your card: the actions ride a path that keeps the same distance from that corner.
  • Pick the corner with the most free room around the card, for example bottom-end for a card near the top of a canvas.
  • Wrap each action in a Tooltip on the side away from the card, so people see its name.
  • For one round button that floats over a page and fans out actions, use a Speed Dial.
  • For a row of tools that must always show, use a Toolbar.
  • For actions on a selection of many rows, use an Action Bar.
TabMoves the focus onto the first action and opens the bloom; the next Tab leaves it.
Left ArroworRight ArrowMoves the focus to the previous or the next action.
HomeorEndMoves the focus to the first or the last action.
EscapeCloses the bloom and takes the focus off the folded action.

The actions are a Base UI Toolbar: one tab stop, and the arrow keys move between the actions.

Folded actions stay in the tab order, so a keyboard Tab reaches them and opens the bloom. A disabled bloom makes them inert.

Each action has a 44px touch target, also when the round button is 32px.

Bloom out
panelBounce · each action leaves the card corner on a spring, 40ms apart, first in page order first; its goo blob swells mid-way, so a liquid neck holds it to the card and snaps
Fold back
panel · a 260ms tween back into the corner, the last action first, 20ms apart
Icon
panelBounce · the icon fades in over the last part of the trip, after the action has left the card
Press
press · an action shrinks to 94% while pressed
  1. AddedCorner Bloom.
Open the release