Skip to content
Components

Reveal

Secondary content that appears while its scope is hovered, focused, or holds an open menu, and always shows on touch.

Composition

Row with hover actions

Hover, keyboard focus, or an open menu inside the nearest RevealScope shows its Reveal content; touch screens always show it.

  • <RevealScope>
    • row content
    • <Reveal>
      • <Button />
      </Reveal>
    </RevealScope>

Installation

The Control UI source installs this component from src/registry/sources/control-ui/ui/reveal.tsx.

Registry command
See registry manifest

Raw code

Primary installed source

src/registry/sources/control-ui/ui/reveal.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-reveal-* · 1 knobsHow the cascade resolves
--cui-reveal-hidden-opacity<number>0