Skip to main content
Clever Ops

Mega Directory Footer

A directory footer for big sites, multi-column grouped links under a utility row with a search affordance and locale display, closed by a legal rail. Dense but ruled.

Preview & code

Loading Mega Directory Footer preview

Installation

pnpm dlx shadcn@latest add @cleverui/footer-mega-directory

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { FooterMegaDirectory } from '@/components/blocks/footer-mega-directory'
Exampletsx
import { FooterMegaDirectory } from '@/components/blocks/footer-mega-directory'

export default function FooterMegaDirectoryDemo() {
  return (
    <div className="mx-auto w-full max-w-6xl">
      <FooterMegaDirectory
        brand="Relaydesk"
        onSearchClick={() => {}}
        searchHint="⌘K"
        locale="EN, AU"
        sections={[
          {
            label: 'Product',
            links: [
              { label: 'Inbox routing', href: '#' },
              { label: 'SLA board', href: '#', badge: 'New' },
              { label: 'Integrations', href: '#' },
              { label: 'API reference', href: '#' },
            ],
          },
          {
            label: 'Solutions',
            links: [
              { label: 'Support teams', href: '#' },
              { label: 'Ops centers', href: '#' },
              { label: 'Agencies', href: '#' },
            ],
          },
          {
            label: 'Resources',
            links: [
              { label: 'Changelog', href: '#' },
              { label: 'Docs', href: '#' },
              { label: 'Status', href: '#' },
              { label: 'Templates', href: '#', badge: 'New' },
            ],
          },
          {
            label: 'Company',
            links: [
              { label: 'About', href: '#' },
              { label: 'Customers', href: '#' },
              { label: 'Careers', href: '#' },
              { label: 'Press', href: '#' },
            ],
          },
          {
            label: 'Security',
            links: [
              { label: 'Trust center', href: '#' },
              { label: 'SOC 2', href: '#' },
              { label: 'DPA', href: '#' },
            ],
          },
          {
            label: 'Support',
            links: [
              { label: 'Help center', href: '#' },
              { label: 'Contact sales', href: '#' },
              { label: 'Community', href: '#' },
            ],
          },
        ]}
        legalLinks={[
          { label: 'Privacy', href: '#' },
          { label: 'Terms', href: '#' },
          { label: 'Cookies', href: '#' },
        ]}
        copyright="© 2026 Relaydesk Pty Ltd"
      />
    </div>
  )
}

API reference

FooterMegaDirectory accepts the following props.

PropTypeDefaultDescription
brandstring
sections*{ label: string links: { label: string; href: string; badge?: string }[] }[]4-6 grouped columns; badge is a short mono tag like 'New' on at most a couple of links
onSearchClick() => voidfires from the utility-row search affordance; omitting it hides the button
searchHintstring'⌘K'mono keyboard hint shown inside the search affordance
localestringdisplay-only locale readout, e.g. 'EN, AU'
legalLinks{ label: string; href: string }[][]
copyrightstringpass the year in copy, no Date in render

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Frequently asked questions

How do I install the Mega Directory Footer component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/footer-mega-directory`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Mega Directory Footer require?

Mega Directory Footer uses motion and lucide-react on top of React and Tailwind CSS. You don't need to install them manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Mega Directory Footer to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services