dropdown.tsx

src/components/dropdown.tsx
'use client'
import Link from 'next/link'
import clsx from 'clsx'
import { useState, useMemo, useRef, useEffect } from 'react'
import { Icon } from '@/components/icon'
import chevronDownIcon from '@iconify/icons-heroicons/chevron-down'
import type { IconifyIcon } from '@iconify/types'
export interface DropdownItem {
label: string
href?: string
onClick?: () => void
count?: number
}
interface DropdownProps {
label: string
items: DropdownItem[]
className?: string

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