sticky-navbar.tsx

src/components/navbar/sticky-navbar.tsx
import { Disclosure } from '@headlessui/react'
import { motion } from 'framer-motion'
import Link from 'next/link'
import type { ReactElement } from 'react'
import clsx from 'clsx'
import { Logo } from '@/components/logo'
import { DesktopNav } from './desktop-nav'
import { SearchButton } from './search-button'
import { SocialMediaNav } from './social-media-nav'
import { MobileNavButton } from './mobile-nav-button'
import { homeLink } from './config'
/**
* Sticky navbar component
* Appears on scroll with slide-in/out animation
* Always uses normal theme
* @returns {ReactElement} Sticky navbar element
*/
export function StickyNavbar({
isScrolling,

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC