Peek Card
Peek Card: An origin-anchored contextual preview popover that emerges directly from target triggers on hover or tap with smart collision edge detection and rich metadata summaries. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Peek Card
npx motion-ui-skill add peek-cardComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactmotionreacttailwind-merge
Source files
Peek Card
An origin-anchored contextual preview popover that emerges directly from target triggers on hover or tap with smart collision edge detection and rich metadata summaries.
Install
npx motion-ui-skill add peek-card
Dependencies
clsxlucide-reactmotionreacttailwind-merge
Usage
"use client";
import { PeekCard as PeekCard } from "@/components/motion/peek-card";
export function Example() {
return (
<div className="p-6">
<PeekCard />
</div>
);
}