# Split image 04

> A heading, line, email signup and rating beside a portrait photo.

URL: https://apogee.avaui.dev/docs/hero-sections/split-image-04
Last updated: 2026-10-20

A heading, line, email signup and rating beside a portrait photo.

Last updated October 20, 2026

Live example: https://apogee.avaui.dev/examples/hero/split-image-04

```astro
---
/**
 * Split image 04: A heading, line, email signup and rating beside a portrait photo.
 *
 * @block hero
 * @order 4
 */
import Section from '@/components/apogee/Section/Section.astro'
import Heading from '@/components/apogee/Heading/Heading.astro'
import Button from '@/components/apogee/Button/Button.astro'
import Link from '@/components/apogee/Link/Link.astro'
import Input from '@/components/apogee/Input/Input.astro'
import Image from '@/components/apogee/Image/Image.astro'
import AvatarGroup from '@/components/apogee/AvatarGroup/AvatarGroup.astro'
import Rating from '@/components/apogee/Rating/Rating.astro'
import { plain, type HeroContent } from '@/components/apogee/sections/_shared/spine.ts'

/** @composable */
interface Props extends HeroContent {
  /** The email form's button. @category content */
  submitLabel?: string
  /** The line under the stars. @category content */
  reviews?: string | null
}

const {
  heading = 'People who care about your growth',
  description = 'Powerful, self-serve product and growth analytics to help you convert, engage and retain more users. Trusted by over 4,000 startups.',
  submitLabel = 'Get started',
  reviews = 'from 200+ reviews',
  media = { src: 'https://picsum.photos/seed/apogee-hero-4/1000/1250', alt: '', width: 1000, height: 1250 },
} = Astro.props
---

<Section spacing="large">
  <div class="grid items-center gap-12 lg:gap-16 lg:grid-cols-2">
    <div class="flex flex-col gap-8 md:gap-12">
      <div class="flex flex-col gap-4 md:gap-6 items-start">
      
      <Heading as="h1" size="display" class="text-balance">{plain(heading)}</Heading>
      {description && <p class="max-w-2xl text-lg md:text-xl text-neutral-faded">{description}</p>}
    </div>
      <form method="post" class="flex w-full max-w-md flex-col gap-2">
      <div class="flex flex-col gap-3 md:flex-row">
        <Input size="large" type="email" name="email" placeholder="Enter your email" aria-label="Email" autocomplete="email" required class="flex-1" />
        <Button type="submit" size="large">{submitLabel}</Button>
      </div>
      <p class="text-sm text-neutral-faded">We care about your data in our <Link href="#" color="neutral">privacy policy</Link>.</p>
    </form>
      <div class="flex items-center gap-4">
      <AvatarGroup items={[{ name: 'Ada Lovelace' }, { name: 'Alan Turing' }, { name: 'Grace Hopper' }, { name: 'Katherine Johnson' }, { name: 'Margaret Hamilton' }]} size="medium" />
      <div class="flex flex-col gap-1">
        <div class="flex items-center gap-2"><Rating value={5} readonly size="small" color="warning" aria-label="Rated 5 out of 5" /><span class="font-semibold">5.0</span></div>
        {reviews && <p class="text-sm text-neutral-faded">{reviews}</p>}
      </div>
    </div>
    </div>
    {media && <Image src={media.src} alt={media.alt} width={media.width} height={media.height} fit="cover" radius="xl" loading="eager" class="aspect-[4/5] w-full" />}
  </div>
</Section>
```

## Add

```sh
npx @ava-ui/apogee add hero/split-image-04
```

This copies the block to `src/components/apogee/blocks/hero/` with everything it uses: AvatarGroup, Button, Heading, Image, Input, Link, Rating, Section. 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/hero-sections#copy-is-props).

## Accessibility

-   The heading is the page’s `h1`; the items below are one level down.
-   The email field is named “Email” (the placeholder is not a label); the form submits without JS.
-   The stars are read as one rating (“Rated 5 out of 5”).
-   Photos that only decorate have an empty `alt`; give yours one when it carries meaning.

## Related

[

SectionA full-width band with vertical rhythm and an optional Container, used to lay out page content.

](https://apogee.avaui.dev/docs/section)[

HeadingA semantic, fluid-sized heading — pick the tag with \`as\`, the visual size with \`size\`.

](https://apogee.avaui.dev/docs/heading)[

ButtonTriggers an action. Renders a <button>, or an <a> when href is set. Hue, fill and height are three separate props.

](https://apogee.avaui.dev/docs/button)[

DeviceFrameA screenshot in a phone, a landscape tablet or a browser window, drawn in CSS with the theme's colours; it scales as a whole and a dark screenshot swaps in with the theme.

](https://apogee.avaui.dev/docs/device-frame)
