Overlays
Link preview card
Link preview card: A small preview panel that appears near a link or username after a brief hover, showing a summary of what is behind it without requiring a click.
Using Link preview card
Link preview card uses the card preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
openDelay | number | 500 | From 0 to 1200; step 50 |
closeDelay | number | 200 | From 0 to 800; step 50 |
side | select | bottom | Options: top, bottom, left, right |
Which frameworks are available for Link preview card?
Link preview card is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Link preview card depend on?
The React metadata lists these npm dependencies beyond React: motion, radix-ui.
What accessibility details are visible in Link preview card?
The React source for Link preview card includes: attributes and handlers (aria-describedby, aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Link preview card handle reduced motion?
Link preview card reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 0.1 : 0.18; reduced ? { opacity: 0 } : { opacity: 0, scale: 0.92, x: rise.x, y: rise.y }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.