Search the docs

Search Keyframery's docs

Keyframery

Context Menu animation

Opens from the pointer and closes back into it on your theme's curve; checkbox and radio items tick.

with <Cuts />
Right-click here

What moves

WhenWhat you seeTimingHow
Opens or closesGrows from the pointer and returns to ityour theme's timingAutomatic
A checkbox or radio item is checkedIts tick draws itself150 msAutomatic

The highlight follows your pointer and keys instantly.

Install

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

npx shadcn add context-menu

Turn it off

Put data-cut="none" on a context menu (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