Skip to content
⌘K

ArdoPublicationTags

On this page

Provides tag labels and archive links to a generated publication route. Ardo's generated routes render it; the label function is called during rendering, inside the site's render context.

import { ArdoPublicationTags } from "ardo/ui"

<ArdoPublicationTags>{children}</ArdoPublicationTags>

Props

NameTypeRequiredDescription
labelPublicationTagLabelNo
archivestringNoPath prefix of the tag archives, such as /news/tags/.
childrenReactNodeYes

Props type: { label?: PublicationTagLabel; archive?: string; children: ReactNode }