Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

Motion Highlight

Dynamic background highlight that follows active items with smooth spring animations for React applications.

Create fluid, animated highlighting that follows user interaction across menu items, tabs, or any list. The highlight smoothly transitions between items using Motion's layout animations, creating a polished selection indicator. Supports two modes: 'children' for per-item highlight backgrounds, and 'parent' for a single sliding indicator. Works with hover or click interactions, controlled or uncontrolled state, and custom transition physics. Built with Motion for React using AnimatePresence for seamless enter/exit animations. Perfect for navigation menus, filter chips, tabs, or any UI needing elegant selection feedback.

Motion Highlight preview

Scroll to load preview

Installation

FAQ