Large 04 brand
The logo, a line and a join link beside two columns and an email signup, then copyright and legal links, on the brand colour.
Last updated
---
/**
* Large 04 brand: The logo, a line and a join link beside two columns and an email signup, then copyright and legal links, on the brand colour.
*
* @block footers
* @order 24
*/
import { ChevronRight, Orbit } 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 Input from '@/components/apogee/Input/Input.astro'
import Badge from '@/components/apogee/Badge/Badge.astro'
import AvatarGroup from '@/components/apogee/AvatarGroup/AvatarGroup.astro'
import { plain, type Action } from '@/components/apogee/sections/_shared/spine.ts'
import { type FooterContent } from '@/components/apogee/sections/_shared/footers.ts'
/** @composable */
interface Props extends FooterContent {
/** The pill link with avatars. @category content */
joinLink?: Action | null
}
const {
brand = 'Example',
tagline = 'Design calm, accessible websites your whole team can edit.',
newsletterHeading = 'Stay up to date',
submitLabel = 'Subscribe',
columns = [
{ heading: 'Product', links: [{ label: 'Overview', href: '#' }, { label: 'Features', href: '#' }, { label: 'Solutions', href: '#', badge: 'New' }, { label: 'Tutorials', href: '#' }, { label: 'Pricing', href: '#' }, { label: 'Releases', href: '#' }] },
{ heading: 'Resources', links: [{ label: 'Blog', href: '#' }, { label: 'Newsletter', href: '#' }, { label: 'Events', href: '#' }, { label: 'Help centre', href: '#' }, { label: 'Tutorials', href: '#' }, { label: 'Support', href: '#' }] },
],
copyright = '© 2026 Example. All rights reserved.',
legal = [{ label: 'Terms', href: '#' }, { label: 'Privacy', href: '#' }, { label: 'Cookies', href: '#' }],
joinLink = { label: 'Join 2,000+ companies', href: '#' },
} = Astro.props
---
<Section as="footer" spacing="medium" background="primary">
<div class="grid gap-12 lg:gap-16 lg:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]">
<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="neutral" size="small"><Orbit /></FeaturedIcon>{brand}</Link>
{tagline && <p class="max-w-xs opacity-85">{plain(tagline)}</p>}
{joinLink && <Link href={joinLink.href} color="inherit" underline="none" class="inline-flex items-center gap-3 self-start rounded-full py-1 ps-1 pe-3 text-sm font-semibold ring-1 ring-current/25">
<span aria-hidden="true"><AvatarGroup items={[{ name: 'Ada Lovelace' }, { name: 'Alan Turing' }, { name: 'Grace Hopper' }, { name: 'Katherine Johnson' }]} size="small" /></span>
{joinLink.label}
<ChevronRight class="size-4 rtl:-scale-x-100" aria-hidden="true" />
</Link>}
</div>
<div class="grid gap-8 sm:grid-cols-2 lg:grid-cols-3"><div class="contents">
{columns.map((c) => (
<nav aria-label={c.heading}>
<p class="text-sm font-semibold opacity-85">{c.heading}</p>
<ul class="mt-4 flex list-none flex-col gap-3 p-0">
{c.links.map((l) => (
<li class="flex items-center gap-2">
<Link href={l.href} color="inherit" underline="hover" class="font-semibold">{l.label}</Link>
{l.badge && <Badge size="small" variant="outline" color="neutral" class="border-current! bg-transparent! text-inherit!">{l.badge}</Badge>}
</li>
))}
</ul>
</nav>
))}
</div><div class="flex flex-col gap-4 sm:col-span-2 lg:col-span-1">
{newsletterHeading && <p class="text-sm font-semibold">{newsletterHeading}</p>}
<form method="post" class="flex flex-col gap-3 sm:flex-row">
<Input type="email" name="email" placeholder="Enter your email" aria-label="Email" autocomplete="email" required class="sm:w-64" />
<Button type="submit" color="neutral">{submitLabel}</Button>
</form>
</div></div>
</div>
<div class="mt-12 md:mt-16 flex flex-col-reverse gap-6 border-t border-current/25 pt-8 md:flex-row md:items-center md:justify-between">
{copyright && <p class="opacity-85 ">{copyright}</p>}
{legal && <nav aria-label="Legal"><ul class="flex list-none flex-wrap gap-x-6 gap-y-2 p-0 opacity-85">{legal.map((l) => <li><Link href={l.href} color="inherit" underline="hover">{l.label}</Link></li>)}</ul></nav>}
</div>
</Section>
Show codeHide code
---
/**
* Large 04 brand: The logo, a line and a join link beside two columns and an email signup, then copyright and legal links, on the brand colour.
*
* @block footers
* @order 24
*/
import { ChevronRight, Orbit } 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 Input from '@/components/apogee/Input/Input.astro'
import Badge from '@/components/apogee/Badge/Badge.astro'
import AvatarGroup from '@/components/apogee/AvatarGroup/AvatarGroup.astro'
import { plain, type Action } from '@/components/apogee/sections/_shared/spine.ts'
import { type FooterContent } from '@/components/apogee/sections/_shared/footers.ts'
/** @composable */
interface Props extends FooterContent {
/** The pill link with avatars. @category content */
joinLink?: Action | null
}
const {
brand = 'Example',
tagline = 'Design calm, accessible websites your whole team can edit.',
newsletterHeading = 'Stay up to date',
submitLabel = 'Subscribe',
columns = [
{ heading: 'Product', links: [{ label: 'Overview', href: '#' }, { label: 'Features', href: '#' }, { label: 'Solutions', href: '#', badge: 'New' }, { label: 'Tutorials', href: '#' }, { label: 'Pricing', href: '#' }, { label: 'Releases', href: '#' }] },
{ heading: 'Resources', links: [{ label: 'Blog', href: '#' }, { label: 'Newsletter', href: '#' }, { label: 'Events', href: '#' }, { label: 'Help centre', href: '#' }, { label: 'Tutorials', href: '#' }, { label: 'Support', href: '#' }] },
],
copyright = '© 2026 Example. All rights reserved.',
legal = [{ label: 'Terms', href: '#' }, { label: 'Privacy', href: '#' }, { label: 'Cookies', href: '#' }],
joinLink = { label: 'Join 2,000+ companies', href: '#' },
} = Astro.props
---
<Section as="footer" spacing="medium" background="primary">
<div class="grid gap-12 lg:gap-16 lg:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]">
<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="neutral" size="small"><Orbit /></FeaturedIcon>{brand}</Link>
{tagline && <p class="max-w-xs opacity-85">{plain(tagline)}</p>}
{joinLink && <Link href={joinLink.href} color="inherit" underline="none" class="inline-flex items-center gap-3 self-start rounded-full py-1 ps-1 pe-3 text-sm font-semibold ring-1 ring-current/25">
<span aria-hidden="true"><AvatarGroup items={[{ name: 'Ada Lovelace' }, { name: 'Alan Turing' }, { name: 'Grace Hopper' }, { name: 'Katherine Johnson' }]} size="small" /></span>
{joinLink.label}
<ChevronRight class="size-4 rtl:-scale-x-100" aria-hidden="true" />
</Link>}
</div>
<div class="grid gap-8 sm:grid-cols-2 lg:grid-cols-3"><div class="contents">
{columns.map((c) => (
<nav aria-label={c.heading}>
<p class="text-sm font-semibold opacity-85">{c.heading}</p>
<ul class="mt-4 flex list-none flex-col gap-3 p-0">
{c.links.map((l) => (
<li class="flex items-center gap-2">
<Link href={l.href} color="inherit" underline="hover" class="font-semibold">{l.label}</Link>
{l.badge && <Badge size="small" variant="outline" color="neutral" class="border-current! bg-transparent! text-inherit!">{l.badge}</Badge>}
</li>
))}
</ul>
</nav>
))}
</div><div class="flex flex-col gap-4 sm:col-span-2 lg:col-span-1">
{newsletterHeading && <p class="text-sm font-semibold">{newsletterHeading}</p>}
<form method="post" class="flex flex-col gap-3 sm:flex-row">
<Input type="email" name="email" placeholder="Enter your email" aria-label="Email" autocomplete="email" required class="sm:w-64" />
<Button type="submit" color="neutral">{submitLabel}</Button>
</form>
</div></div>
</div>
<div class="mt-12 md:mt-16 flex flex-col-reverse gap-6 border-t border-current/25 pt-8 md:flex-row md:items-center md:justify-between">
{copyright && <p class="opacity-85 ">{copyright}</p>}
{legal && <nav aria-label="Legal"><ul class="flex list-none flex-wrap gap-x-6 gap-y-2 p-0 opacity-85">{legal.map((l) => <li><Link href={l.href} color="inherit" underline="hover">{l.label}</Link></li>)}</ul></nav>}
</div>
</Section>Add
npx @ava-ui/apogee add footers/large-04-brand
This copies the block to src/components/apogee/blocks/footers/ with everything it uses: AvatarGroup, Badge, Button, FeaturedIcon, Input, 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 email field is named “Email” (the placeholder is not a label); the form submits without JS.
- The block is the page’s
<footer>landmark; each link column is a<nav>named after its heading.