Skip to content
✨ Publier v1 is live — a polished docs platform built for the open web.
On this page

NavLink

A plain link, or a labelled group of one-level navigation items.

interface NavLink

A plain link, or a labelled group of one-level navigation items.

Properties

columns

columns?: 1 | 2 | 3 | 4

Mega menu: sub-group columns on desktop, 1 to 4 (default 2).

external

external?: boolean

footer

footer?: NavItem[]

Mega menu: links under the group’s body.

groups

groups?: NavGroup[]

Mega menu: titled sub-groups (a tree).

href

href?: string

items

items?: NavItem[]

label

label: string

layout

layout?: "rail"

Mega menu: rail shows one section at a time beside their titles.

search

search?: boolean

Mega menu: show a filter field in the group’s panel.