Skip to content
Menu

Cards

Link thumbnail peek

Link thumbnail peek: Hovering a link in running text lifts a small framed thumbnail of where it leads, with the page title and host underneath.

Using Link thumbnail peek

Link thumbnail peek 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.

ControlTypeDefaultPreview limits
openDelaynumber300From 0 to 1000; step 50
cardWidthnumber280From 200 to 380; step 10
sideselecttopOptions: top, bottom
accentcolor#9BE15DNo additional limit in the metadata.
showCaptionbooleantrueNo additional limit in the metadata.
Which frameworks are available for Link thumbnail peek?

Link thumbnail peek 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 thumbnail peek depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx.

What accessibility details are visible in Link thumbnail peek?

The React source for Link thumbnail peek includes: native elements (a); attributes and handlers (aria-hidden, onKeyDown); key comparisons (Escape). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Link thumbnail peek handle reduced motion?

Link thumbnail peek reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: dur: reduced ? 0.1 : 0.14; dur: reduced ? 0.12 : OPEN_S; reduced ? 1 : 0.94. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components