# Simple form 02

> A portrait photo (from lg) beside a heading and a contact form.

URL: https://apogee.avaui.dev/docs/contact-sections/simple-form-02
Last updated: 2026-10-20

A portrait photo (from lg) beside a heading and a contact form.

Last updated October 20, 2026

Live example: https://apogee.avaui.dev/examples/contact/simple-form-02

```astro
---
/**
 * Simple form 02: A portrait photo (from lg) beside a heading and a contact form.
 *
 * @block contact
 * @order 26
 */
import Section from '@/components/apogee/Section/Section.astro'
import SectionHeader from '@/components/apogee/SectionHeader/SectionHeader.astro'
import ContactForm from '@/components/apogee/ContactForm/ContactForm.astro'
import Image from '@/components/apogee/Image/Image.astro'
import { plain } from '@/components/apogee/sections/_shared/spine.ts'
import type { ContactContent } from '@/components/apogee/sections/_shared/contact.ts'

/** @composable */
interface Props extends ContactContent {}

const {
  eyebrow = 'Contact us',
  heading = 'Get in touch',
  description = "We'd love to hear from you. Please fill out this form.",
  media = { src: 'https://picsum.photos/seed/apogee-contact-6/1200/1500', alt: '', width: 1200, height: 1500 },
  action,
  method,
  submitLabel = 'Send message',
} = Astro.props
---

<Section spacing="large">
  <div class="grid gap-16 lg:grid-cols-2">
    {media && <Image src={media.src} alt={media.alt} width={media.width} height={media.height} fit="cover" radius="xl" class="h-full min-h-[40rem] w-full max-lg:hidden" />}
    <div>
      <SectionHeader eyebrow={eyebrow ?? undefined} heading={plain(heading)} description={description ?? undefined} class="mb-12" />
      <ContactForm action={action} method={method} submitLabel={submitLabel} />
    </div>
  </div>
</Section>
```

## Add

```sh
npx @ava-ui/apogee add contact/simple-form-02
```

This copies the block to `src/components/apogee/blocks/contact/` with everything it uses: ContactForm, Image, Section, SectionHeader. 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/contact-sections#copy-is-props).

## Accessibility

-   The heading is an `h2` by default, so the block slots into a page under its `h1`; item titles are one level down.
-   Photos that only decorate have an empty `alt`; give yours one when it carries meaning.

## Related

[

ContactFormThe message form contact pages share; names, email, an optional phone with a country code, the message, an optional services checklist and a privacy checkbox.

](https://apogee.avaui.dev/docs/contact-form)[

ContactMethodOne way to reach you; an icon, a title, a line about it and the address, number or link, plain or on a card.

](https://apogee.avaui.dev/docs/contact-method)[

MapEmbedAn embedded street map centred on a place, with a marker and a link to the full map; no key, no script.

](https://apogee.avaui.dev/docs/map-embed)[

WorldMapA dotted world map with office pins; each pin names its place on hover or focus and links to it on a full map.

](https://apogee.avaui.dev/docs/world-map)
