AI
Footer
A site footer with a brand block, link columns, copyright, and social icon links.
A site footer: a brand block with logo and tagline, link columns (FooterSection[]), a copyright line, and social icon links (FooterSocial[]) in the bottom bar. Links go through the configured Link adapter. The package also exports dependency-free GithubIcon, DiscordIcon, and InstagramIcon for the social slots.
Import
import { Footer, GithubIcon, DiscordIcon, InstagramIcon } from "@yuhuanowo/yunui/ai";
Basic
Basic
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| appName* | string | — | Brand name shown next to the logo. |
| copyright | string | — | Defaults to `© <year> <appName>. All rights reserved.` |
| homeHref | string | / | Where the logo links to. |
| logoSrc | string | /favicon.ico | Logo image src. |
| sections | FooterSection[] | [] | Link columns. |
| social | FooterSocial[] | [] | Social/icon links shown in the bottom bar. |
| tagline | string | — | Short brand tagline under the logo. |