Marketing sectionsPostCompact

Open in Create
Search
astronomic.dev

PostCompact

Pro

For a short list of post titles and dates, such as on a home page or beside other content.

File
PostCompact.astro
Group
Marketing sections
Kind
Static: no JavaScript
Examples
1
import PostCompact from "@astronomic/ui-pro/components/PostCompact.astro";

Examples

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

  • Static
  • Interactive
  • Framed

In a narrow column

Five post titles with their dates in a 24rem column, such as beside a page's main text or at the foot of a home page, then the link to all posts. Each row is on a hairline, with a tighter padding than PostList: the date first, above the title (from a 42rem posts container it takes its own start column, as PostList). There is no heading of its own here, so the titles are h3 under the page's h2.

main.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.