Footer
Footer component with a simple row of links, grouped columns with social icons, or a centered layout.
How to use it
Run npx @blossomui/react add footer, or copy src/components/UI/Footer/Footer.tsx into your React project and import it.
import { Footer } from './components/ui/Footer'
Props
FooterLink
| Prop | Type | Description |
|---|
| label (required) | string | |
| href (required) | string | |
FooterColumn
| Prop | Type | Description |
|---|
| title (required) | string | |
| links (required) | FooterLink[] | |
FooterProps
| Prop | Type | Description |
|---|
| labels | { rights?: string; navigation?: string } | Texts of the component. Pass only the ones you want to change, for example to translate it. |
| brand (required) | string | Name of the project shown in the footer. |
| description | string | |
| columns | FooterColumn[] | Groups of links. With two or more groups the footer becomes a grid. |
| links | FooterLink[] | A single row of links, used when there are no columns. |
| social | ReactNode | Social icons or any element shown next to the copyright. |
| year | number | Copyright year. Defaults to the current year. |
| align | 'left' | 'center' | |