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

NavProduct

The interface publier.shell.integration.NavProduct.

Overview

interface NavProduct

Properties

badge

badge?: string

A registry product’s status label (Beta, Preview), shown in the rail layout.

category

category?: string

A products.categories id: a registry product’s own, or one a hand-listed entry names. The rail layout of the switcher groups by it.

description

description?: string

A registry product’s one-line description, shown in the rail layout.

href

href?: string

Landing destination. Defaults to path.

id

id?: string

Id search partitions on. Set once the config is resolved: a registry product’s id, the id written on a hand-listed one, or one derived from path.

label

label: string

path

path: string

Local product URL prefix used to resolve the current selection.

tabs

tabs?: NavLink[]

Section links for this product. Omit to inherit variant tabs; [] hides them.

versions

versions?: { badge?: string; default?: boolean; href?: string; label: string; path: string; status?: "preview" | "current" | "supported" | "frozen" }[]

Omit for a product without versioned documentation.