Skip to main content
Clever Ops

Accordion Sitemap Footer

A deep sitemap footer that stays honest on phones, open Tailwind link columns at desktop collapse into true disclosure accordions below lg, React button semantics intact.

Preview & code

Loading Accordion Sitemap Footer preview

Installation

pnpm dlx shadcn@latest add @cleverui/footer-accordion-sitemap

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

Usage

tsx
import { FooterAccordionSitemap } from '@/components/blocks/footer-accordion-sitemap'
Exampletsx
import { FooterAccordionSitemap } from '@/components/blocks/footer-accordion-sitemap'

export default function FooterAccordionSitemapDemo() {
  return (
    <div className="mx-auto w-full max-w-6xl">
      <FooterAccordionSitemap
        brand="Northstack"
        tagline="Infrastructure tooling for teams shipping regulated products across APAC and North America."
        defaultOpen={0}
        groups={[
          {
            label: 'Product',
            links: [
              { label: 'Ledger sync', href: '#' },
              { label: 'Policy engine', href: '#' },
              { label: 'Audit trails', href: '#' },
              { label: 'Webhooks', href: '#' },
              { label: 'API reference', href: '#' },
              { label: 'SDKs', href: '#' },
              { label: 'Sandbox', href: '#' },
              { label: 'Changelog', href: '#' },
            ],
          },
          {
            label: 'Solutions',
            links: [
              { label: 'Lending desks', href: '#' },
              { label: 'Payments ops', href: '#' },
              { label: 'Brokerages', href: '#' },
              { label: 'Insurers', href: '#' },
              { label: 'Fintech startups', href: '#' },
              { label: 'Enterprise IT', href: '#' },
            ],
          },
          {
            label: 'Resources',
            links: [
              { label: 'Documentation', href: '#' },
              { label: 'Guides', href: '#' },
              { label: 'Status', href: '#' },
              { label: 'Templates', href: '#' },
              { label: 'Security whitepaper', href: '#' },
              { label: 'Migration playbook', href: '#' },
              { label: 'Community', href: '#' },
            ],
          },
          {
            label: 'Company',
            links: [
              { label: 'About', href: '#' },
              { label: 'Customers', href: '#' },
              { label: 'Careers', href: '#' },
              { label: 'Press kit', href: '#' },
              { label: 'Partners', href: '#' },
              { label: 'Contact', href: '#' },
            ],
          },
          {
            label: 'Legal',
            links: [
              { label: 'Privacy', href: '#' },
              { label: 'Terms of service', href: '#' },
              { label: 'Data processing', href: '#' },
              { label: 'Subprocessors', href: '#' },
              { label: 'Cookie policy', href: '#' },
              { label: 'Licences', href: '#' },
            ],
          },
          {
            label: 'Support',
            links: [
              { label: 'Help center', href: '#' },
              { label: 'Contact sales', href: '#' },
              { label: 'System status', href: '#' },
              { label: 'SLA', href: '#' },
              { label: 'Onboarding', href: '#' },
              { label: 'Training', href: '#' },
            ],
          },
        ]}
        socials={[
          { label: 'LinkedIn', href: '#' },
          { label: 'X', href: '#' },
          { label: 'GitHub', href: '#' },
        ]}
        legalLinks={[
          { label: 'Privacy', href: '#' },
          { label: 'Terms', href: '#' },
          { label: 'Cookies', href: '#' },
        ]}
        copyright="© 2026 Northstack LLC"
      />
    </div>
  )
}

API reference

FooterAccordionSitemap accepts the following props.

PropTypeDefaultDescription
brandstringrendered with a trailing full stop in text-primary, the accent budget
taglinestring
groups*{ label: string; links: { label: string; href: string }[] }[]4-6 groups of 6-10 links, the full agency-grade sitemap
socials{ label: string; href: string }[][]text links in the bottom rail, no icon fonts
legalLinks{ label: string; href: string }[][]
copyrightstringe.g. '© 2026 Northstack LLC', pass the year in copy, no Date in render
defaultOpennumber0index of the group open by default below lg; -1 starts all closed

…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 Accordion Sitemap 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-accordion-sitemap`. 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 Accordion Sitemap Footer require?

Accordion Sitemap 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 Accordion Sitemap 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