# Card mockup 08

> A heading, email signup and three points over a wide panel of payment cards, over a dot grid.

URL: https://apogee.avaui.dev/docs/hero-sections/card-mockup-08
Last updated: 2026-10-20

A heading, email signup and three points over a wide panel of payment cards, over a dot grid.

Last updated October 20, 2026

Live example: https://apogee.avaui.dev/examples/hero/card-mockup-08

```astro
---
/**
 * Card mockup 08: A heading, email signup and three points over a wide panel of payment cards, over a dot grid.
 *
 * @block hero
 * @order 36
 */
import { CircleCheck } from '@lucide/astro'
import Section from '@/components/apogee/Section/Section.astro'
import Container from '@/components/apogee/Container/Container.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 PaymentCard from '@/components/apogee/PaymentCard/PaymentCard.astro'
import { plain, type HeroContent } from '@/components/apogee/sections/_shared/spine.ts'

/** @composable */
interface Props extends HeroContent {
  /** The form's submit button. @category content */
  submitLabel?: string
  /** The checklist beside the heading. @category content */
  features?: string[] | null
}

const {
  heading = 'Simple, transparent business credit cards',
  description = 'A new kind of business account: cards, payments and reports in one place. Start with a 30-day free trial.',
  submitLabel = 'Get started',
  features = ['No annual fees', 'Cards for every team member', 'Spending limits you control'],
} = Astro.props
---

<Section spacing="large" container={false} class="overflow-hidden">
  <div class="pointer-events-none absolute inset-0 mask-[radial-gradient(ellipse_at_top,black,transparent_70%)] bg-[radial-gradient(var(--border-neutral)_1px,transparent_1px)] bg-size-[1.5rem_1.5rem]" aria-hidden="true"></div>
  <Container class="relative">
    <div class="grid gap-8 lg:grid-cols-[minmax(0,2fr)_minmax(0,1fr)] lg:items-end">
    <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>
    {features && <ul class="flex list-none flex-col gap-4 p-0 max-lg:hidden">{features.map((f) => <li class="flex gap-3"><CircleCheck class="size-6 shrink-0 text-primary" aria-hidden="true" />{f}</li>)}</ul>}
  </div>
  <div class="relative flex items-center justify-center overflow-hidden rounded-3xl bg-neutral-faded p-6 md:p-10 mt-12 h-96 md:mt-16 md:h-120">
      <div class="relative h-full w-full max-w-lg">
        <div class="absolute w-56 md:w-72 start-0 top-0"><PaymentCard variant="glass" last4="1001" /></div>
        <div class="absolute w-56 md:w-72 start-[10%] top-[18%]"><PaymentCard color="neutral" last4="2002" /></div>
        <div class="absolute w-56 md:w-72 start-[20%] top-[36%]"><PaymentCard variant="glass" last4="3003" /></div>
        <div class="absolute w-56 md:w-72 start-[30%] top-[54%]"><PaymentCard color="primary" last4="4242" /></div>
      </div>
    </div>
  </Container>
</Section>
```

## Add

```sh
npx @ava-ui/apogee add hero/card-mockup-08
```

This copies the block to `src/components/apogee/blocks/hero/` with everything it uses: Button, Container, Heading, Input, Link, PaymentCard, 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.
-   Each payment card is one image, named by its last four digits.

## 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)
