Skip to content
Layout FooterColumns

FooterColumns

Columns of links under headings, for the top of a footer.

On this page

Examples

Razor
<div class="w-full overflow-hidden rounded-xl border border-(--klyroo-border)">
    <KlyFooter>
        <Top>
            <KlyFooterColumns Columns="_columns" AriaLabel="Sitemap" data-testid="footer-columns">
                <Left>
                    <p class="font-mono text-sm font-semibold text-(--klyroo-text-highlighted)">acme/app</p>
                    <p class="mt-2 max-w-xs text-sm text-(--klyroo-text-muted)">Tools for teams that ship.</p>
                </Left>
            </KlyFooterColumns>
        </Top>
        <Left>
            <p>Copyright 2026 Acme Inc.</p>
        </Left>
    </KlyFooter>
</div>

@code {
    private static readonly KlyFooterColumn[] _columns =
    [
        new("Product")
        {
            Links =
            [
                new("Features") { Href = "/components/header" },
                new("Pricing") { Href = "/components/footer" },
                new("Changelog") { Href = "/docs" },
            ],
        },
        new("Company")
        {
            Links =
            [
                new("About") { Href = "/docs" },
                new("Careers") { Href = "/docs", Disabled = true },
                new("Blog") { Href = "https://example.com", Target = KlyLinkTarget.Blank },
            ],
        },
        new("Legal")
        {
            Links = [new("Privacy") { Href = "/docs" }, new("Terms") { Href = "/docs" }],
        },
    ];
}

API

KlyFooterColumns

Columns of links under a heading, as a navigation landmark. Meant for the top area of a KlyFooter .

Parameters

Name Type Default Description
AriaLabel string Accessible name of the links navigation. Needed when the page has several.
Class string Classes added to the root element, merged last so they win over the theme.
Columns (required) IReadOnlyList<KlyFooterColumn> The columns, each a title and a list of links ( KlyFooterColumn ).
HeadingLevel int 3 Level of the column headings: 3 by default.
Ui FooterColumnsUi Per-instance class overrides of the slots of the footer columns, see FooterColumnsUi . They are merged after the theme and the Class parameter wins on the root slot.

Slots

Name Type Description
Left RenderFragment Content before the columns on wide screens: a logo and a short description.
Right RenderFragment Content after the columns: a newsletter form.

Ui slots

Ui takes a FooterColumnsUi with one class string per slot, merged after the theme.

Slot Styles
Root Classes merged into the root slot of KlyFooterColumns , after the theme and the app configuration.
Left Classes merged into the left slot of KlyFooterColumns , after the theme and the app configuration.
Nav Classes merged into the nav slot of KlyFooterColumns , after the theme and the app configuration.
Column Classes merged into the column slot of KlyFooterColumns , after the theme and the app configuration.
Label Classes merged into the label slot of KlyFooterColumns , after the theme and the app configuration.
List Classes merged into the list slot of KlyFooterColumns , after the theme and the app configuration.
Item Classes merged into the item slot of KlyFooterColumns , after the theme and the app configuration.
Link Classes merged into the link slot of KlyFooterColumns , after the theme and the app configuration.
Icon Classes merged into the icon slot of KlyFooterColumns , after the theme and the app configuration.
Right Classes merged into the right slot of KlyFooterColumns , after the theme and the app configuration.

KlyFooterColumn

A column of a KlyFooterColumns : a heading and its links. Only the label, href, target, icon and disabled state of a link are used.

Parameters

Name Type Description
Label string Heading of the column.
Links IReadOnlyList<KlyNavigationItem> The links of the column.