ProseBlogAuthor
components/prose/BlogAuthor.vue
Compact author byline with optional avatar, name, and publish date. Supports both a person object and individual props.
Mark Meerschaert
February 20, 2026
components/prose/BlogAuthor.vue
Usage
<ProseBlogAuthor
:person = "person"
name = "null"
publishDate = "—"
img = "null"
:showImage = "true"
imageSize = "reg"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| person | Object | null | Person object with name and photo fields |
| name | String | null | Author name (fallback if no person object) |
| publishDate | String | — | Formatted date string (required) |
| img | String | null | Author image URL (fallback if no person object) |
| showImage | Boolean | true | Whether to show the author avatar |
| imageSize | String | 'reg' | Avatar size: 'reg' (36px) or 'tiny' (20px) |