Footer

A customizable footer component with support for multiple layouts, sections, navigation, and social links.

Installation

1. Dependencies

npm install clsx tailwind-merge

2. Paste inside @/lib/utils.ts

import { clsx } from "clsx";
import { twMerge } from "tailwind-merge";

export function cn(...inputs: Parameters<typeof clsx>) {
  return twMerge(clsx(...inputs));
}

3. Copy Footer Code

Loading...

Copy Footer Code

Footer Props

NameTypeRequiredDefaultDescription
variant"default" | "slim" | "centered"No"default"The layout style of the footer.
classNamestringNoundefinedAdditional class names for styling the footer.
childrenReact.ReactNodeYesundefinedContent to be displayed inside the footer.

FooterContainer Props

NameTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional class names for styling the footer container.
childrenReact.ReactNodeYesundefinedContent to be displayed inside the footer container.

FooterSection Props

NameTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional class names for styling the footer section.
childrenReact.ReactNodeYesundefinedContent to be displayed inside the footer section.

FooterGrid Props

NameTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional class names for styling the footer grid.
childrenReact.ReactNodeYesundefinedContent to be displayed inside the footer grid.

FooterTitle Props

NameTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional class names for styling the footer title.
childrenReact.ReactNodeYesundefinedThe title text to display in the footer.

FooterNav Props

NameTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional class names for styling the footer navigation.
childrenReact.ReactNodeYesundefinedNavigation links to display in the footer.

FooterNavItem Props

NameTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional class names for styling the footer navigation item.
childrenReact.ReactNodeYesundefinedThe content of the navigation item.
hrefstringYesundefinedThe URL the navigation item links to.

FooterSocial Props

NameTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional class names for styling the social links container.
childrenReact.ReactNodeYesundefinedSocial links to display in the footer.

FooterSocialItem Props

NameTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional class names for styling the social link.
childrenReact.ReactNodeYesundefinedThe content of the social link.
hrefstringYesundefinedThe URL the social link points to.

FooterDivider Props

NameTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional class names for styling the divider.

FooterCopyright Props

NameTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional class names for styling the copyright text.
childrenReact.ReactNodeNoundefinedCustom content for the copyright section.