Publishing sectionsArticleHeaderPlain

Open in Create
Search
astronomic.dev

ArticleHeaderPlain

Free

At the top of a post: the topic, date and reading time, the title, a line under it and the byline, with the photo under them.

File
ArticleHeaderPlain.astro
Group
Publishing sections
Kind
Static: no JavaScript
Examples
4
import ArticleHeaderPlain from "@astronomic-dev/ui/components/ArticleHeaderPlain.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

A post with a photo

The topic pill, the date and reading time, the title and the standfirst, then the photo under them at the row's full width, at 16:9. The photo opens the page, so it loads eagerly at high priority.

main.astro

Centered

align="center": the same header with the text centered, here with a series link in the meta line.

center.astro

No photo

Without an image, just the text: the fallback for any post.

no-image.astro

With a byline

A Byline in the byline slot, under the standfirst, with a share button in its actions slot.

with-byline.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.