Astro components
Footer nav
Displays a column of navigation links for the footer.
A component responsible for rendering a section of links in the footer.
Usage
---
import FooterNav from '@/components/FooterNav.astro';
---
const group = {
label: 'Product',
items: [
{ label: 'Features', link: '/features' },
{ label: 'Pricing', link: '/pricing' }
]
};
<FooterNav group={group} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
group | NavGroup | - | Object containing the label and items for the navigation column. |
NavGroup Interface
interface NavGroup {
label: string;
items: {
label: string;
link: string;
icon?: any;
external?: boolean;
}[];
}