Publishing sectionsArticleHeaderCover

Open in Create
Search
astronomic.dev

ArticleHeaderCover

Pro

At the top of a post with a strong photo: the title, a line under it, the topic and date on the photo itself.

File
ArticleHeaderCover.astro
Group
Publishing sections
Kind
Static: no JavaScript
Examples
3
import ArticleHeaderCover from "@astronomic/ui-pro/components/ArticleHeaderCover.astro";

Examples

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

  • Static
  • Interactive
  • Framed

A post with a strong photo

The photo fills a box at least clamp(32.5rem, 74svh, 45rem) tall with media corners; the topic pill, the date, series and reading time, the title and the standfirst sit at its foot on the scrim. Put the Byline under the header.

main.astro

Centered

align="center": the text block sits in the middle of the photo, its text centered.

center.astro

A long word

A title of one 30-character word breaks inside the box rather than run past it.

long-title.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.