AsterUIDocsv1.0.2

Docs / Component reference

Footer

Group links by destination and reserve a separate line for legal details.

Install

sh
npx @fierst/ui@1.0.2 add footer

Registry dependencies: theme.

Exports from ./ui/footer: FooterColumn, Footer.

Download the registry source for footer 1.0.2.

API contracts

ts
export interface FooterColumn {
  heading: string;
  links: readonly { label: string; href: string }[];
}

export function Footer({
  brand,
  tagline,
  columns,
  copyright,
  extra,
  class: extraClass,
}: {
  brand: View;
  tagline?: string;
  columns: readonly FooterColumn[];
  copyright?: string;
  extra?: View;
  class?: string;
})