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
Mark Meerschaert
February 20, 2026
components/prose/BlogAuthor.vue

Usage

<ProseBlogAuthor :person = "person" name = "null" publishDate = "—" img = "null" :showImage = "true" imageSize = "reg" />

Props

PropTypeDefaultDescription
personObjectnullPerson object with name and photo fields
nameStringnullAuthor name (fallback if no person object)
publishDateStringFormatted date string (required)
imgStringnullAuthor image URL (fallback if no person object)
showImageBooleantrueWhether to show the author avatar
imageSizeString'reg'Avatar size: 'reg' (36px) or 'tiny' (20px)

Related