Search the docs

Search Keyframery's docs

Keyframery

Hover Card animation

The card opens out of the link you hover and closes back into it, on your theme's curve.

with <Cuts />

What moves

WhenWhat you seeTimingHow
Opens or closesGrows from its trigger and returns to ityour theme's timingAutomatic

Install

Hover Card is shadcn's own component. With <Cuts /> in your root layout (Quick start), there's nothing else to add:

npx shadcn add hover-card

Turn it off

Put data-cut="none" on a hover card (or anything around it) to keep shadcn's own motion there. <Cuts responses="none" /> turns off every response across the app and keeps the cuts. With reduced motion, movement becomes a short fade or nothing.

On this page