Capítulo 6 de 11

Chapter 6: Navigation

Core Idea

Navbars, docks, and sidebars — the chrome components users navigate the site with, most of them reacting to scroll or hover.

Reference Table

NamePurposeInstall
Floating NavbarSticky navbar that hides on scroll-down, reveals on scroll-upnpx shadcn@latest add @aceternity/floating-navbar
Navbar MenuNavbar whose children animate open on hover ("big nav")npx shadcn@latest add @aceternity/navbar-menu
NotchFloating configurable notch (top or bottom) with animated active-item statenpx shadcn@latest add @aceternity/notch
Resizable NavbarNavbar that changes width on scrollnpx shadcn@latest add @aceternity/resizable-navbar
SidebarExpandable sidebar (hover to expand), responsive, dark-mode awarenpx shadcn@latest add @aceternity/sidebar
Following PointerCustom cursor that follows the mouse and animates its contentnpx shadcn@latest add @aceternity/following-pointer
Layout Text FlipText-flip effect that reflows surrounding layout as it changesnpx shadcn@latest add @aceternity/layout-text-flip

Key Takeaways

  1. Resizable Navbar and Floating Navbar solve different problems: Resizable changes width/shrinks on scroll (desktop marketing sites), Floating Navbar hides/reveals entirely (mobile-first or content-heavy pages).
  2. Sidebar is the one dashboard-oriented nav component in the free tier — for a marketing navbar, reach for one of the navbar variants instead.
  3. Following Pointer replaces the OS cursor — use sparingly and only on sections designed around it, since it can hurt usability if applied site-wide.

Connects To

  • ch009 (Loaders, Modals & Tabs): Animated Tabs, a related navigation-adjacent interaction.