Behive Tech Component Registry

Site Footer

v0.1.2Draft

Site footer with a brand, grouped navigation links, free content and a legal line; the groups stack on small screens and sit in columns from the medium breakpoint.

pnpm add @behivetech/organisms.site-footer

Site footer with a brand, grouped navigation links, free content and a legal line; the groups stack on small screens and sit in columns from the medium breakpoint.

Usage

Open in new tab

The ```jsx block above runs live on the docs site. Imports are stripped and every registry export is in scope, so you can compose with other components too.

Properties

SiteFooter props

PropTypeDefaultDescription
brandReactNode—Brand mark, such as a wordmark or logo, shown in the lead column
childrenReactNode—Free content rendered under the brand, such as contact details
classNamestring—Additional class names to merge with the component root element
groupsSiteFooterGroup[][]Link groups. Groups without links, and an empty list, render no heading
legalReactNode—Legal line shown in its own row under the groups, such as a copyright
linkComponentElementType<SiteFooterLinkProps>aComponent that renders each link, so a router link such as Next's `Link` can be injected. Receives `href`, `children` and NavItem's props (merged through `asChild`); pass them all through to the anchor, or the link loses NavItem's styling and hit area. Defaults to `a`.

Also accepts the native attributes of its root element (className, aria-*, event handlers, …).