Footer
Site footer with a brand name, link columns and a small-print line.
Preview
Installation
Run this in a project that already uses shadcn/ui. It adds the component and anything it needs.
Usage
import { Footer } from "@/components/custom/footer";
<Footer
brand="Acme"
note="© 2026 Acme"
columns={[
{ title: "Product", links: [{ label: "Pricing", href: "/pricing" }] },
]}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| brand* (required) | string | – | Name shown at the top left. |
| columns* (required) | { title: string; links: { label: string; href: string }[] }[] | – | Link columns. |
| note | string | – | Small print under the columns, such as a copyright line. |
| ...props | React.ComponentProps<"footer"> | – | Any other footer attribute (id, aria-*, data-*, ref) goes to the root element. |
Accessibility
- Columns sit in a <nav aria-label="Footer">, separate from the main navigation.