Skip to content
Kits

ActionBar

Reusable hover actions for message and response controls.

Composition

Anatomy

  • <ActionBar>
    • <ActionBarCopy />
    • <ActionBarItem />
    • <ActionBarEdit />
    </ActionBar>

Installation

Use this command to install the component.

Registry command
See registry manifest

Usage

Dependencies

Copy hooksrc/registry/hooks/use-copy-to-clipboard.tsHook
ButtonbuttonPrimitiveLive statuslive-statusPrimitive

Raw code

Installed component source and support files

src/registry/sources/control-ui/action-bar.tsx

Knobs

Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.

--cui-action-bar-* · 2 knobsHow the cascade resolves
--cui-action-bar-hidden-opacity<number>0
--cui-action-bar-visible-opacity<number>1