fndn/ui

Components

Hover Card

Beta

A preview that opens when its trigger is hovered or focused.

Details

A preview surface that opens when its trigger is hovered or focused and stays open while the pointer is inside it. Built for previews: an optional mono header with a title and +added −removed counts, and tinted lines for a file diff; anything else goes in the body. Behaviour comes from the Zag hover-card machine, through Ark UI in React, Vue and Svelte.

Behaviour from Ark UI, the hover-card machine of Zag.