Component

AuthorLink

Renders an author's name as a link to their profile page when a slug is provided, or plain text when it is not.

With slug (linked)

live editor β€” edit to update preview
<AuthorLink name="Charlin Joe" slug="charlin" />

Without slug (plain text)

live editor β€” edit to update preview
<AuthorLink name="Anonymous" />

Props

PropTypeDefaultDescription
name*stringβ€”Author display name.
slugstringβ€”Author handle. When provided, renders a link to /author/{slug}.
classNamestringβ€”Override link classes. Defaults to hover:underline.