{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer",
  "title": "Footer",
  "description": "A marketing site’s footer as a directory: every group of links under its heading, beside the logo, a line about the product, its status and its social links, over the legal line with the theme switch.",
  "dependencies": [],
  "registryDependencies": [
    "https://kinoui.com/r/footer-parts.json"
  ],
  "files": [
    {
      "path": "registry/components/kino/footer/footer.tsx",
      "content": "'use client'\n\nimport {\n  type FooterBaseProps,\n  footerColumnClassName,\n  type FooterGroup,\n  FooterGroups,\n  type FooterHeading,\n  FooterLegal,\n  FooterSocial,\n  FooterStatusLink,\n} from '@/registry/lib/footer-parts'\nimport type { ReactNode } from 'react'\n\nimport { cn } from '@/lib/utils'\n\n/*\n * A marketing site's footer as a directory: the logo, a line about the\n * product, its status and its social links at the start, every group of links under its\n * heading beside them, and the legal line at the foot, with the theme\n * switch. In a phone's column the groups sit two to a\n * row under the logo.\n *\n *   <Footer\n *     logo={<a href='/' aria-label='Kino, home'><Logo /></a>}\n *     description='Plan the cycle. Ship it on time.'\n *     groups={[{ label: 'Product', links: [{ label: 'Cycles', href: '/cycles' }] }]}\n *     copyright='© 2026 Kino Labs, Inc.'\n *   />\n */\n\ninterface FooterProps extends FooterBaseProps {\n  groups: FooterGroup[]\n  /** A line or two about the product, under the logo. */\n  description?: ReactNode\n  /** The groups' headings' level: `h2` under the page's sections. */\n  heading?: FooterHeading\n}\n\nfunction Footer({\n  logo,\n  description,\n  groups,\n  copyright,\n  legal,\n  social,\n  status,\n  themeSwitcher = true,\n  heading,\n  label,\n  className,\n  ...props\n}: FooterProps) {\n  return (\n    <footer\n      data-slot='footer'\n      className={cn('@container/footer w-full min-w-0 border-t', className)}\n      {...props}\n    >\n      <div\n        className={cn(\n          footerColumnClassName,\n          'flex flex-col gap-12 pt-14 pb-8 @3xl/footer:pt-16',\n        )}\n      >\n        <div className='grid min-w-0 gap-10 @3xl/footer:grid-cols-[minmax(0,15rem)_minmax(0,1fr)] @3xl/footer:gap-12 @5xl/footer:grid-cols-[minmax(0,18rem)_minmax(0,1fr)] @5xl/footer:gap-16'>\n          <div className='flex min-w-0 flex-col items-start gap-4'>\n            <div className='flex shrink-0 items-center'>{logo}</div>\n            {description ? (\n              <p className='text-muted-foreground max-w-xs text-sm text-pretty'>\n                <bdi>{description}</bdi>\n              </p>\n            ) : null}\n            {status ? <FooterStatusLink status={status} /> : null}\n            {social?.length ? <FooterSocial social={social} className='mt-1' /> : null}\n          </div>\n          <FooterGroups groups={groups} heading={heading} label={label} />\n        </div>\n        <FooterLegal\n          className='border-t pt-6'\n          copyright={copyright}\n          legal={legal}\n          themeSwitcher={themeSwitcher}\n        />\n      </div>\n    </footer>\n  )\n}\n\nexport { Footer, type FooterProps }\n",
      "type": "registry:component",
      "target": "@components/kino/footer/footer.tsx"
    }
  ],
  "type": "registry:block"
}