Hover Preview

A list that floats each row's image beside the cursor, tilting with your speed.

gsapMIT · free
  • Lumen LampProduct launch
  • Field NotesEditorial
  • Coral CoffeeBrand identity
  • Tide StudioPortfolio

Installation

npx shadcn@latest add https://ombakui.com/r/hover-preview.json

Usage

import { HoverPreview } from "@/components/hover-preview";

<HoverPreview
  items={[
    { title: "Lumen Lamp", meta: "2026", image: "/lumen.jpg", href: "/work/lumen" },
    { title: "Field Notes", meta: "2025", image: "/field.jpg" },
  ]}
/>

Props

PropTypeDefaultDescription
items*HoverPreviewItem[]–The rows of the list.
widthnumber280Preview width in px.
tiltbooleantrueTilt the preview with cursor speed.
classNamestring–
rowClassNamestring–Classes for each row.