Preview Card
A popup that appears when a link is hovered, showing a preview for sighted users.
Made by imskyleenInstallation
Usage
API Reference
PreviewCard
Base UI API Reference - PreviewCard.RootPreviewCardTrigger
Base UI API Reference - PreviewCard.TriggerPreviewCardPortal
Base UI API Reference - PreviewCard.PortalThe keepMounted
property is not supported in the PreviewCardPortal
component, as it is used for animation.
PreviewCardPositioner
Base UI API Reference - Popover.PositionerPreviewCardPopup
Base UI API Reference - PreviewCard.PopupProp | Type | Default |
---|---|---|
transition? | Transition | { type: 'spring', stiffness: 300, damping: 25 } |
...props? | HTMLMotionProps<"div"> | - |
The render
property is not supported in the PreviewCardPopup
component, as
it is used for animation.