Compose site footers from Footer plus brand, link, icon, and copyright subcomponents.
Setup < script lang = " ts" >
import { Footer, FooterBrand, FooterCopyright, FooterIcon, FooterLink, FooterLinkGroup } from '@cailabs/components.base' ;
</ script> Default © 2026 Bitblue All Rights Reserved. < script lang = " ts" >
import { Footer, FooterBrand, FooterCopyright, FooterIcon, FooterLink, FooterLinkGroup } from '@cailabs/components.base' ;
</ script>
< Footer>
< div class = " w-full" >
< FooterBrand href = " /" name = " Bitblue" />
< FooterLinkGroup>
< FooterLink href = " /docs" > Docs</ FooterLink>
</ FooterLinkGroup>
< FooterCopyright href = " /" by = " Bitblue" />
< FooterIcon href = " #" ariaLabel = " GitHub" > …</ FooterIcon>
</ div>
</ Footer> Footer types footerType switches layout chrome: default, sitemap, socialmedia, logo, or sticky (fixed to the bottom).
< script lang = " ts" >
import { Footer, FooterBrand, FooterLink, FooterLinkGroup } from '@cailabs/components.base' ;
</ script>
< Footer footerType = " logo" >
< FooterBrand href = " /" name = " Bitblue" />
< FooterLinkGroup>
< FooterLink href = " /docs" > Docs</ FooterLink>
</ FooterLinkGroup>
</ Footer> Brand with image < script lang = " ts" >
import { FooterBrand } from '@cailabs/components.base' ;
</ script>
< FooterBrand href = " /" src = " /favicon.png" alt = " Bitblue" name = " Bitblue" /> Copyright options < script lang = " ts" >
import { FooterCopyright } from '@cailabs/components.base' ;
</ script>
< FooterCopyright href = " /" by = " Bitblue" year= { 2026 } copyrightMessage = " All Rights Reserved." /> Props Footer Prop Type Default Description childrenSnippet— Footer content footerType'default' | 'sticky' | 'sitemap' | 'socialmedia' | 'logo''default'Layout / chrome variant classClassValue— Extra classes ...restHTMLAttributes<HTMLElement>— Root <footer> attributes
FooterBrand Prop Type Default Description hrefstring— Brand link; without href, only the image is rendered srcstring— Logo image URL altstring— Image alt text namestring— Brand text next to the logo childrenSnippet— Extra content inside the brand link aClass / spanClass / imgClassClassValue— Slot class overrides ...restHTMLAnchorAttributes— Anchor attributes
FooterCopyright Prop Type Default Description hrefstring— Link around the by name bystring— Rights holder name yearnumbercurrent year Copyright year copyrightMessagestring'All Rights Reserved.'Trailing message aClass / spanClass / bySpanClassClassValue— Class overrides classestheme slots — Preferred slot overrides (link, bySpan) ...restHTMLAnchorAttributes— Anchor attributes
FooterIcon Prop Type Default Description childrenSnippet— Icon markup (required) hrefstring— Icon link ariaLabelstring— Accessible label ...restHTMLAnchorAttributes— Anchor attributes
FooterLink Prop Type Default Description childrenSnippet— Link label (required) hrefstring— Destination liClass / aClassClassValue— List item / anchor classes ...restHTMLAnchorAttributes— Anchor attributes
FooterLinkGroup Prop Type Default Description childrenSnippet— FooterLink children (required)...restHTMLAttributes<HTMLUListElement>— Root <ul> attributes