Footer

Closes a page with the brand, its secondary links in titled columns, and an optional large name.

Configurations

Supported configurations for this component.

Configurations

3 examples

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/••••••••••••

Light and dark both come with the install and follow the dark class on <html>, the shadcn dark mode setup (next-themes with attribute="class").

Props

Every prop this component accepts. Any other prop is forwarded to the underlying element.

FooterWordmark

PropTypeDefaultDescription
namereqstring-The name to set. Shown in capitals, measured in its own face so it runs the column's full width.
markReact.ReactNode-SVG shapes for a symbol beside the name (paths without their own fill, so they take the figure's ink), drawn on `markViewBox` and scaled to the cap height.
markViewBoxstring'0 0 24 24'The drawing box the `mark` shapes are drawn on.

Footer

PropTypeDefaultDescription
brandReact.ReactNode-The brand lockup at the head of the left column (a mark and the product name).
descriptionReact.ReactNode-One line under the brand saying what the product is.
columns{ title: string, links: { label: string, href?: string, onClick?: Function }[] }[]-The link columns on the right. A link with no href is a placeholder: it renders, takes focus and fires onClick, but never moves the page.
wordmarkstring | falsefalseThe closing wordmark: a name set huge and faint across the column, running off the bottom edge. Off by default; pass the brand name to sign off with it.
wordmarkMarkReact.ReactNode-SVG shapes for a symbol beside the wordmark, drawn on `wordmarkMarkViewBox` and scaled to the cap height. None by default.
wordmarkMarkViewBoxstring'0 0 24 24'The drawing box the `wordmarkMark` shapes are drawn on.
legalReact.ReactNode-A bottom line under the columns (copyright, a legal link or two), over a hairline.
maxWidthstring-The content column's max width (a CSS length), to line the footer up with the page. Full width by default.

More Andromeda Pro components