Simple Sidebar With Hover
The sidebar starts in a narrow state showing only icons. When users hover over it, it expands smoothly to reveal link labels using Framer Motion width animations. The expansion is controlled by mouse enter/leave events.
Links are organized into primary and secondary groups. Each link displays an icon and label, with the label visibility tied to the sidebar's open state. A user profile section sits at the bottom.
On mobile, a hamburger menu opens a full-screen overlay with the navigation links. AnimatePresence handles the mobile menu's enter/exit animations with height and opacity transitions.
Works well for dashboards, admin panels, documentation sites, or any application where screen space is valuable but users still need access to navigation.
Part of Sidebars ยท All blocks
Build websites faster and 10x better than your competitors with
Aceternity UI Pro
Next.js 15, Tailwind CSS v4 and Motion for react powered templates
100+ templates and blocks combined
Ready to copy paste component blocks, save days of development time




