spaceboydavey

Scroll Navigation Menu

Navigation 120

About

Scroll to see the navbar transform into a floating hamburger menu

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Scroll Navigation Menu to your project and fits it to your theme.

Code

How Scroll Navigation Menu is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Component from "@/components/ui/scroll-navigation-menu";

const settings = {
  stiffness: 300,
  damping: 30,
  staggerChildren: 0.1,
  scale: 0.8,
  opacity: 0,
  y: -50,
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen overflow-auto">
      <Component {...s} />
    </div>
  );
}

Dependencies

More by spaceboydavey

View all
  • Scroll Navigation Menu

    Scroll Navigation Menu

More in Navigation

View all
  • Sidebar

    Sidebar

    222
  • Tabs

    Tabs

    51
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    40
  • Nav List Card

    Nav List Card

    29
  • Breadcrumb

    Breadcrumb

    12
  • Pagination Ant

    Pagination Ant

    3
  • Pagination

    Pagination

    9
  • Navbar

    Navbar

    71