Small 01 brand
One row: the logo, a row of links and the copyright, on the brand colour.
Last updated
---
/**
* Small 01 brand: One row: the logo, a row of links and the copyright, on the brand colour.
*
* @block footers
* @order 37
*/
import { Orbit } from '@lucide/astro'
import Section from '@/components/apogee/Section/Section.astro'
import FeaturedIcon from '@/components/apogee/FeaturedIcon/FeaturedIcon.astro'
import Link from '@/components/apogee/Link/Link.astro'
import { type FooterContent } from '@/components/apogee/sections/_shared/footers.ts'
/** @composable */
interface Props extends FooterContent {}
const {
brand = 'Example',
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.',
} = Astro.props
const flat = columns.flatMap((c) => c.links)
---
<Section as="footer" spacing="small" background="primary">
<div class="flex flex-col gap-8 lg:flex-row lg:items-center lg:justify-between">
<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>
{flat.length > 0 && <nav aria-label={navLabel} class=""><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="inherit" underline="hover" class="font-semibold">{l.label}</Link></li>)}</ul></nav>}
{copyright && <p class="opacity-85 ">{copyright}</p>}
</div>
</Section>
Show codeHide code
---
/**
* Small 01 brand: One row: the logo, a row of links and the copyright, on the brand colour.
*
* @block footers
* @order 37
*/
import { Orbit } from '@lucide/astro'
import Section from '@/components/apogee/Section/Section.astro'
import FeaturedIcon from '@/components/apogee/FeaturedIcon/FeaturedIcon.astro'
import Link from '@/components/apogee/Link/Link.astro'
import { type FooterContent } from '@/components/apogee/sections/_shared/footers.ts'
/** @composable */
interface Props extends FooterContent {}
const {
brand = 'Example',
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.',
} = Astro.props
const flat = columns.flatMap((c) => c.links)
---
<Section as="footer" spacing="small" background="primary">
<div class="flex flex-col gap-8 lg:flex-row lg:items-center lg:justify-between">
<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>
{flat.length > 0 && <nav aria-label={navLabel} class=""><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="inherit" underline="hover" class="font-semibold">{l.label}</Link></li>)}</ul></nav>}
{copyright && <p class="opacity-85 ">{copyright}</p>}
</div>
</Section>Add
npx @ava-ui/apogee add footers/small-01-brand
This copies the block to src/components/apogee/blocks/footers/ with everything it uses: 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 block is the page’s
<footer>landmark; each link column is a<nav>named after its heading.