# Split with search

> A search icon and a site search beside a photo.

URL: https://apogee.avaui.dev/docs/not-found-pages/split-search
Last updated: 2026-10-15

A search icon and a site search beside a photo.

Last updated October 15, 2026

Live example: https://apogee.avaui.dev/examples/not-found/split-search

```astro
---
/**
 * Split with search: A search icon and a site search beside a photo.
 *
 * @page not-found
 */
import { Search } from '@lucide/astro'
import NotFound from '@/components/apogee/sections/NotFound/NotFound.astro'
import FeaturedIcon from '@/components/apogee/FeaturedIcon/FeaturedIcon.astro'
import Input from '@/components/apogee/Input/Input.astro'
import Button from '@/components/apogee/Button/Button.astro'
import Image from '@/components/apogee/Image/Image.astro'
---

<NotFound fullHeight layout="split" code="" heading="Page not found" description="We couldn't find that page. Try searching our site instead.">
  <FeaturedIcon slot="icon" theme="outline" color="neutral" size="large"><Search /></FeaturedIcon>
  <form role="search" action="/search" method="get" class="flex w-full max-w-md flex-col gap-3 sm:flex-row">
    <Input type="search" name="q" aria-label="Search the site" placeholder="Search our site" class="flex-1">
      <Search slot="start" aria-hidden="true" />
    </Input>
    <Button type="submit" variant="outline" color="neutral">Search</Button>
  </form>
  <Image slot="media" src="https://picsum.photos/seed/apogee-404-1/1200/1000" alt="" width={1200} height={1000} fit="cover" radius="xl" class="aspect-[6/5] w-full" />
</NotFound>
```

## Add

```sh
npx @ava-ui/apogee add not-found/split-search
```

This copies the page to `src/components/apogee/pages/not-found/` with everything it uses: Button, FeaturedIcon, Image, Input, NotFound. Render it from `src/pages/404.astro`, or use **Copy code** above.

## Accessibility

-   The page heading is the `h1`.
-   The search is a `role="search"` form that sends `q` to `/search` with GET; point `action` at your own search page.
-   The photo has empty alt text: it is decoration.

## Related

[

Not foundThe 404 page body; a status line, heading, description and a way back, centred, left-aligned or beside media.

](https://apogee.avaui.dev/docs/sections/not-found)[

Featured iconAn icon in a tinted tile, the glyph that leads an empty state, an alert, a stat or a feature card.

](https://apogee.avaui.dev/docs/featured-icon)[

ImageA responsive, lazy-loaded image — wraps astro:assets Image with sensible defaults.

](https://apogee.avaui.dev/docs/image)
