Peek Link
buttonProAn inline link whose own preview image rises, fades and leans toward the cursor on a spring.
Introductory price until 31 December 2026. €79 after that.
Preview
Live demo. The theme switches the demo itself.
Code
The code is locked
Peek Link is part of Manniche UI Pro. A key unlocks the source of all 66 effects.
Buy · €49€49 · Introductory price until 31 December 2026. €79 after that.
- One-off payment
- One developer
- Sign in and create your key straight away
- No VAT (§ 19 UStG)
Have a key? Get the code with the CLI or MCP.
The key lives in MANNICHE_PRO_KEY, never in your code or a URL. How to set it up
npx shadcn@latest add @manniche-pro/peek-linkclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
PeekLinkProps
| Prop | Type | Default | What it does |
|---|---|---|---|
children required | React.ReactNode | – | The link text. |
preview required | PeekLinkPreview | – | The picture that floats above the link on hover or keyboard focus. |
previewWidth | number | 240 | Preview width in CSS pixels. It shrinks on screens narrower than this. |
previewHeight | number | 150 | Preview height in CSS pixels. Keeps its ratio when the width shrinks. |
previewRadius | number | 14 | Corner radius of the preview in CSS pixels. |
shadow | boolean | true | Draw a soft drop shadow under the preview. |
shadowColor | string | 'rgb(0 0 0 / 0.38)' | Colour of the drop shadow. Any CSS colour. Ignored when shadow is off. |
textColor | string | – | Text colour of the link. Defaults to the colour it inherits. |
underlineColor | string | – | Colour of the underline. Defaults to the text colour, faded until hover. |
previewOnTouch | boolean | false | Touch: when true the first tap previews and the second tap follows the link. By default touch just navigates. |
spring | { stiffness?: number; damping?: number } | – | Spring that drives the rise, fade, scale and lean. |
ref | Ref<HTMLAnchorElement> | – | Ref to the real <a>. |
Also takes every prop from Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'children'>.
A11y
Keyboard
The preview opens when the link gets keyboard focus, not only on hover. Escape closes it and keeps it closed until focus or the pointer leaves, and Enter follows the link.
Screen reader
The link is a normal anchor. The preview is an aria-hidden portal with pointer events off, so it adds nothing to read.
Reduced motion
Under reduced motion the preview jumps to its place without the spring.
Other
On touch screens the link navigates at once unless previewOnTouch is set.