Installnpx shadcn@latest add https://motion-lexicon.pages.dev/r/primitive-hover-effect.json
- Purpose
- Reinforce interactivity on fine-pointer hover while keeping layout and hit targets stable.
- Trigger
- Trigger on pointerenter only when hover:hover and pointer:fine match.
- Interruptibility
- Return from current styles during rapid pointer movement without queuing animations.
- Reduced motion
- Keep static hover and focus color, border, or shadow changes while removing travel and scale.
hover-effectHover effectPointer hover updates a control's visual state to signal availability or affordance.