Tarjeta de vista previa enriquecida al pasar el cursor o con el foco del teclado, con retardos de apertura/cierre y un puente invisible que la mantiene abierta mientras el puntero se desplaza hacia ella.
Agente de IA con el servidor MCP de Marvelous UI: install_components({ slugs: ["hover-card"], target_dir: "<absolute path>/src/marvelous", framework: "react" }).
Preferred side, flipped when there isn’t enough room.
offset
number
8
Distance from the trigger (px).
open-delay
number
500
Delay before opening (ms).
close-delay
number
300
Grace delay before closing (ms).
arrow
boolean
Shows an arrow.
open
boolean
Opens/closes programmatically.
disabled
boolean
Disables the card.
Properties
Name
Tipo
Description
isOpen
boolean
Read-only.
Events
Name
Description
mv-open
After opening.
mv-close
After closing.
Content structure
Name
Description
first child
Trigger, ideally a link (<a>) that makes sense on its own.
[data-content]
Card content (uses the .mv-popover style).
CSS classes
Name
Description
mv-hover-card-trigger
Dotted-underline mention style for the trigger.
CSS variables
Name
Default
Description
--mv-hover-card-width
20rem
Card width.
--mv-popover-*
Background, radius and padding inherited from Popover.
Accessibility
Visual enhancement: the trigger must make sense on its own. Opens on mouse hover and keyboard focus (:focus-visible), never on touch; Tab moves into the card (which stays open while focus is inside), Escape closes it. The content isn’t announced automatically: don’t put essential information in it.