Link preview on hoverPage Peek navbar

Link preview on hover: point at a link and a real preview of that page glides out under the bar.

Features

  • Each link carries a tiny thumbnail of its page
  • Pointing at a link opens a preview card with the page's top and one line on it
  • The card glides from link to link instead of closing and reopening
  • Every picture is loaded up front, so the preview never waits
  • Works from the keyboard; phones get a plain menu

Best for: Agencies, studios and portfolios whose pages are worth seeing before the click.

Installation

npm install motion @radix-ui/react-slot class-variance-authority clsx tailwind-merge

Then copy the files from the Code tab into the same paths in your project, in TypeScript or JavaScript.

Props

PropTypeDefaultDescription
logoReactNode-Your logo. It inherits currentColor.
itemsPeekItem[]-Links: label, href and an optional preview { src, caption } of the page it opens.
cta{ label: string; href: string }-Optional call-to-action button.
classNamestring-Extra classes for the header.

FAQ

Is the Page Peek navbar free to use?

Yes. Page Peek is free to copy into your own projects. Open the Code tab and paste the files into your app.

Does Page Peek work with Next.js and React?

Yes. It's a React client component made for the Next.js App Router, styled with Tailwind CSS and animated with Framer Motion (the motion package).

Can I use Page Peek in JavaScript instead of TypeScript?

Yes. Every file comes in TypeScript and JavaScript. Switch the language in the Code tab.

What does Page Peek need installed?

motion, @radix-ui/react-slot, class-variance-authority, clsx, tailwind-merge, plus the shared helpers from the Installation page.

Is Page Peek accessible?

Every link and button is reachable by keyboard with a visible focus ring, and the animation stays still for visitors who ask for reduced motion.