Large 07
The logo, a line and a row of links beside app buttons, then copyright and social links.
Last updated
---
/**
* Large 07: The logo, a line and a row of links beside app buttons, then copyright and social links.
*
* @block footers
* @order 7
*/
import { Download, Orbit, Smartphone } from '@lucide/astro'
import Section from '@/components/apogee/Section/Section.astro'
import FeaturedIcon from '@/components/apogee/FeaturedIcon/FeaturedIcon.astro'
import Button from '@/components/apogee/Button/Button.astro'
import Link from '@/components/apogee/Link/Link.astro'
import { plain, type Action } from '@/components/apogee/sections/_shared/spine.ts'
import { socialIcons, type FooterContent } from '@/components/apogee/sections/_shared/footers.ts'
/** @composable */
interface Props extends FooterContent {
/** The label over the app buttons. @category content */
appsLabel?: string | null
/** App store buttons; icons cycle phone, download. @category content */
apps?: Action[] | null
}
const appIcons = [Smartphone, Download]
const {
brand = 'Example',
tagline = 'Design calm, accessible websites your whole team can edit.',
columns = [{ heading: 'Footer', links: [{ label: 'Overview', href: '#' }, { label: 'Features', href: '#' }, { label: 'Pricing', href: '#' }, { label: 'Careers', href: '#' }, { label: 'Help', href: '#' }, { label: 'Privacy', href: '#' }] }],
navLabel = 'Footer',
copyright = '© 2026 Example. All rights reserved.',
social = [
{ label: 'Email', href: '#', icon: 'mail' },
{ label: 'Blog feed', href: '#', icon: 'rss' },
{ label: 'Community', href: '#', icon: 'message' },
{ label: 'Website', href: '#', icon: 'globe' },
{ label: 'Contact', href: '#', icon: 'at-sign' },
],
appsLabel = 'Get the app',
apps = [{ label: 'Download for iOS', href: '#' }, { label: 'Get it on Android', href: '#' }],
} = Astro.props
const flat = columns.flatMap((c) => c.links)
---
<Section as="footer" spacing="medium">
<div class="flex flex-col gap-12 md:flex-row md:justify-between">
<div class="flex flex-col gap-6">
<Link href="/" color="inherit" underline="none" class="inline-flex items-center gap-2 text-lg font-semibold "><FeaturedIcon theme="solid" color="primary" size="small"><Orbit /></FeaturedIcon>{brand}</Link>
{tagline && <p class="max-w-xs text-neutral-faded">{plain(tagline)}</p>}
{flat.length > 0 && <nav aria-label={navLabel} class="mt-2"><ul class="grid list-none grid-cols-2 gap-x-8 gap-y-3 p-0 sm:flex sm:flex-wrap">{flat.map((l) => <li><Link href={l.href} color="neutral" underline="hover" class="font-semibold">{l.label}</Link></li>)}</ul></nav>}
</div>
<div class="flex flex-col gap-4">
{appsLabel && <p class="text-sm font-semibold text-neutral-faded">{appsLabel}</p>}
{apps && <div class="flex flex-col gap-3">{apps.map((a, i) => { const Icon = appIcons[i % appIcons.length]!; return <Button href={a.href} variant="outline" color="neutral"><Icon slot="start" aria-hidden="true" />{a.label}</Button> })}</div>}
</div>
</div>
<div class="mt-12 md:mt-16 flex flex-col-reverse gap-6 border-t border-neutral pt-8 md:flex-row md:items-center md:justify-between">
{copyright && <p class="text-neutral-faded ">{copyright}</p>}
{social && <ul class="flex list-none flex-wrap gap-6 p-0 text-neutral-faded">{social.map((s) => { const Icon = socialIcons[s.icon]; return <li><Link href={s.href} color="inherit" underline="none" aria-label={s.label} class="flex"><Icon class="size-6" aria-hidden="true" /></Link></li> })}</ul>}
</div>
</Section>
Show codeHide code
---
/**
* Large 07: The logo, a line and a row of links beside app buttons, then copyright and social links.
*
* @block footers
* @order 7
*/
import { Download, Orbit, Smartphone } from '@lucide/astro'
import Section from '@/components/apogee/Section/Section.astro'
import FeaturedIcon from '@/components/apogee/FeaturedIcon/FeaturedIcon.astro'
import Button from '@/components/apogee/Button/Button.astro'
import Link from '@/components/apogee/Link/Link.astro'
import { plain, type Action } from '@/components/apogee/sections/_shared/spine.ts'
import { socialIcons, type FooterContent } from '@/components/apogee/sections/_shared/footers.ts'
/** @composable */
interface Props extends FooterContent {
/** The label over the app buttons. @category content */
appsLabel?: string | null
/** App store buttons; icons cycle phone, download. @category content */
apps?: Action[] | null
}
const appIcons = [Smartphone, Download]
const {
brand = 'Example',
tagline = 'Design calm, accessible websites your whole team can edit.',
columns = [{ heading: 'Footer', links: [{ label: 'Overview', href: '#' }, { label: 'Features', href: '#' }, { label: 'Pricing', href: '#' }, { label: 'Careers', href: '#' }, { label: 'Help', href: '#' }, { label: 'Privacy', href: '#' }] }],
navLabel = 'Footer',
copyright = '© 2026 Example. All rights reserved.',
social = [
{ label: 'Email', href: '#', icon: 'mail' },
{ label: 'Blog feed', href: '#', icon: 'rss' },
{ label: 'Community', href: '#', icon: 'message' },
{ label: 'Website', href: '#', icon: 'globe' },
{ label: 'Contact', href: '#', icon: 'at-sign' },
],
appsLabel = 'Get the app',
apps = [{ label: 'Download for iOS', href: '#' }, { label: 'Get it on Android', href: '#' }],
} = Astro.props
const flat = columns.flatMap((c) => c.links)
---
<Section as="footer" spacing="medium">
<div class="flex flex-col gap-12 md:flex-row md:justify-between">
<div class="flex flex-col gap-6">
<Link href="/" color="inherit" underline="none" class="inline-flex items-center gap-2 text-lg font-semibold "><FeaturedIcon theme="solid" color="primary" size="small"><Orbit /></FeaturedIcon>{brand}</Link>
{tagline && <p class="max-w-xs text-neutral-faded">{plain(tagline)}</p>}
{flat.length > 0 && <nav aria-label={navLabel} class="mt-2"><ul class="grid list-none grid-cols-2 gap-x-8 gap-y-3 p-0 sm:flex sm:flex-wrap">{flat.map((l) => <li><Link href={l.href} color="neutral" underline="hover" class="font-semibold">{l.label}</Link></li>)}</ul></nav>}
</div>
<div class="flex flex-col gap-4">
{appsLabel && <p class="text-sm font-semibold text-neutral-faded">{appsLabel}</p>}
{apps && <div class="flex flex-col gap-3">{apps.map((a, i) => { const Icon = appIcons[i % appIcons.length]!; return <Button href={a.href} variant="outline" color="neutral"><Icon slot="start" aria-hidden="true" />{a.label}</Button> })}</div>}
</div>
</div>
<div class="mt-12 md:mt-16 flex flex-col-reverse gap-6 border-t border-neutral pt-8 md:flex-row md:items-center md:justify-between">
{copyright && <p class="text-neutral-faded ">{copyright}</p>}
{social && <ul class="flex list-none flex-wrap gap-6 p-0 text-neutral-faded">{social.map((s) => { const Icon = socialIcons[s.icon]; return <li><Link href={s.href} color="inherit" underline="none" aria-label={s.label} class="flex"><Icon class="size-6" aria-hidden="true" /></Link></li> })}</ul>}
</div>
</Section>Add
npx @ava-ui/apogee add footers/large-07
This copies the block to src/components/apogee/blocks/footers/ with everything it uses: Button, FeaturedIcon, Link, Section. Every piece of copy is a prop, with the sample copy as its default. Pass yours, or null to hide a part; see copy is props.
Accessibility
- The icon links are named (Email, Blog feed, Community…); the icons themselves are hidden.
- The block is the page’s
<footer>landmark; each link column is a<nav>named after its heading.