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
| Prop | Type | Default | Description |
|---|---|---|---|
| name* | string | β | Author display name. |
| slug | string | β | Author handle. When provided, renders a link to /author/{slug}. |
| className | string | β | Override link classes. Defaults to hover:underline. |