Hover Card

For sighted users to preview supporting details behind a link or lightweight trigger.

Installation

$npx maddex add HoverCard

Basic

Start with the uncontrolled composition from the Maddex primitive: a trigger plus content.

Preview

        
            
        
    

Controlled

Bind the open state when another control needs to open or dismiss the card programmatically.

Preview

        
            
        
    

Positioning And Delays

Tune the opening delays and anchor the panel to a specific edge when the trigger sits in a dense toolbar.

Preview