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

    235
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    43
  • Tabs

    Tabs

    60
  • Sidebar

    Sidebar

    340
  • Numberless Pagination with Text

    Numberless Pagination with Text

    11
  • Oversized 404 Numeral

    Oversized 404 Numeral

    50
  • Footer

    Footer

    446
  • Pagination

    Pagination

    43