mobile-nav.tsx

src/components/navbar/mobile-nav.tsx
import {
Disclosure,
DisclosureButton,
DisclosurePanel,
} from '@headlessui/react'
import { motion } from 'framer-motion'
import Link from 'next/link'
import { useState, type ReactElement } from 'react'
import chevronDownIcon from '@iconify/icons-heroicons/chevron-down-20-solid'
import searchIcon from '@iconify/icons-lucide/search'
import { Icon } from '@/components/icon'
import { Search } from '@/components/search'
import { links, socialLinks } from './config'
import type { NavLink, DropdownItem, SocialLink } from './types'
/**
* Mobile navigation menu component
* Renders slide-down mobile menu with animations and expandable dropdowns
* @param {function} close - Function to close the mobile menu
* @returns {ReactElement} Mobile navigation menu

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