# Simple left aligned 02

> A heading over four posts in two columns, with a View all posts button under a rule.

URL: https://apogee.avaui.dev/docs/blog-sections/simple-left-aligned-02
Last updated: 2026-10-20

A heading over four posts in two columns, with a View all posts button under a rule.

Last updated October 20, 2026

Live example: https://apogee.avaui.dev/examples/blog/simple-left-aligned-02

```astro
---
/**
 * Simple left aligned 02: A heading over four posts in two columns, with a View all posts button under a rule.
 *
 * @block blog
 * @order 23
 */
import Section from '@/components/apogee/Section/Section.astro'
import SectionHeader from '@/components/apogee/SectionHeader/SectionHeader.astro'
import PostCard from '@/components/apogee/PostCard/PostCard.astro'
import { plain } from '@/components/apogee/sections/_shared/spine.ts'
import { toCard, type BlogContent, type Post } from '@/components/apogee/sections/_shared/blog.ts'
import Grid from '@/components/apogee/Grid/Grid.astro'
import Button from '@/components/apogee/Button/Button.astro'

const demoPosts: Post[] = [
  {
    title: 'Designing review sessions people look forward to',
    href: '#',
    excerpt: 'How to run critiques that sharpen the work instead of draining the room.',
    date: '2026-01-20',
    readingTime: '8 min read',
    image: { src: 'https://picsum.photos/seed/apogee-blog-1/960/640', alt: '', width: 960, height: 640 },
    category: { name: 'Design', href: '#' },
    author: { name: 'Ada Lovelace', href: '#' },
    tags: [{ name: 'Design', href: '#', color: 'primary' }, { name: 'Research', href: '#', color: 'neutral' }, { name: 'Process', href: '#', color: 'positive' }],
  },
  {
    title: 'Migrating to a typed component library',
    href: '#',
    excerpt: 'What changed when we moved two hundred screens onto one set of typed parts.',
    date: '2026-01-19',
    readingTime: '6 min read',
    image: { src: 'https://picsum.photos/seed/apogee-blog-2/960/640', alt: '', width: 960, height: 640 },
    category: { name: 'Engineering', href: '#' },
    author: { name: 'Alan Turing', href: '#' },
    tags: [{ name: 'Engineering', href: '#', color: 'primary' }, { name: 'Tooling', href: '#', color: 'neutral' }],
  },
  {
    title: 'Building your first internal API',
    href: '#',
    excerpt: 'The shape of a small API that teams can grow without rewriting.',
    date: '2026-01-18',
    readingTime: '7 min read',
    image: { src: 'https://picsum.photos/seed/apogee-blog-3/960/640', alt: '', width: 960, height: 640 },
    category: { name: 'Engineering', href: '#' },
    author: { name: 'Grace Hopper', href: '#' },
    tags: [{ name: 'Engineering', href: '#', color: 'primary' }, { name: 'APIs', href: '#', color: 'warning' }],
  },
  {
    title: 'What a year of weekly releases taught us',
    href: '#',
    excerpt: 'Small, boring releases beat big launches. Here is how we got there.',
    date: '2026-01-16',
    readingTime: '5 min read',
    image: { src: 'https://picsum.photos/seed/apogee-blog-4/960/640', alt: '', width: 960, height: 640 },
    category: { name: 'Product', href: '#' },
    author: { name: 'Katherine Johnson', href: '#' },
    tags: [{ name: 'Product', href: '#', color: 'primary' }, { name: 'Process', href: '#', color: 'positive' }],
  },
]
/** @composable */
interface Props extends BlogContent {}

const {
  eyebrow,
  heading = 'From the blog',
  description = 'The latest industry news, interviews, technologies and resources.',
  items = demoPosts,
  locale = Astro.currentLocale ?? 'en',
  primaryAction = { label: 'View all posts', href: '#' },
} = Astro.props

---

<Section spacing="large">
  <SectionHeader eyebrow={eyebrow ?? undefined} heading={plain(heading)} description={description ?? undefined} class="mb-12 md:mb-16" />
  <Grid as="ul" cols={{ base: 1, md: 2 }} gap={8} class="list-none p-0">
    {items.map((post) => <li><PostCard post={toCard(post)} locale={locale} meta="category" footer="author" headingLevel={3} class="h-full" /></li>)}
  </Grid>
  {primaryAction && (
    <div class="mt-12 flex md:mt-16 md:justify-end md:border-t md:border-neutral md:pt-4">
      <Button href={primaryAction.href} size="large" class="max-md:w-full">{primaryAction.label}</Button>
    </div>
  )}
</Section>
```

## Add

```sh
npx @ava-ui/apogee add blog/simple-left-aligned-02
```

Every piece of copy is a prop, with the sample copy as its default. Pass yours, or `null` to hide a part; see [copy is props](https://apogee.avaui.dev/docs/blog-sections#copy-is-props).

This copies the block to `src/components/apogee/blocks/blog/` with everything it uses: Button, Grid, PostCard, Section, SectionHeader. It slots into any page, such as a home page or a product page. Swap the `posts` array for your content collection. Use **Copy code** above to paste it instead.

## Accessibility

-   Each post is one link: the title stretches over the card, and the author, category and tag links sit above it and stay clickable.
-   The decorative arrow and the images are hidden from screen readers (their alt is empty because the title already names the post).

## Related

[

PostCardOne article in a blog list; image, a top line, title, summary and a footer, as plain, a card or with an overlay.

](https://apogee.avaui.dev/docs/post-card)[

Blog listPost cards in a grid, or one featured post above the grid.

](https://apogee.avaui.dev/docs/sections/blog-list)
