Split with pitch
The form beside a portrait, a short pitch and social proof.
Last updated
---
/**
* Split with pitch: The form beside a portrait, a short pitch and social proof.
*
* @page sign-up
*/
import { Orbit, KeyRound } from '@lucide/astro'
import AuthShell from '@/components/apogee/sections/AuthShell/AuthShell.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 Link from '@/components/apogee/Link/Link.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'
const people = [
{ name: 'Mara Okafor', src: 'https://i.pravatar.cc/96?img=47' },
{ name: 'Jonas Weber', src: 'https://i.pravatar.cc/96?img=12' },
{ name: 'Ana Lima', src: 'https://i.pravatar.cc/96?img=32' },
{ name: 'Priya Raman', src: 'https://i.pravatar.cc/96?img=5' },
{ name: 'Tomás Ruiz', src: 'https://i.pravatar.cc/96?img=15' },
]
---
<AuthShell layout="split" heading="Sign up" description="Start your 30-day free trial.">
<a slot="brand" href="#" class="flex items-center gap-2 font-semibold">
<FeaturedIcon theme="solid" color="primary" size="small"><Orbit /></FeaturedIcon>
Example
</a>
<form method="post" class="flex flex-col gap-6">
<div class="flex flex-col gap-5">
<Input label="Name" name="name" placeholder="Enter your name" autocomplete="name" required />
<Input label="Email" type="email" name="email" placeholder="Enter your email" autocomplete="email" required />
<Input label="Password" type="password" name="password" placeholder="Create a password" autocomplete="new-password" minlength="8" hint="Must be at least 8 characters." required />
</div>
<div class="flex flex-col gap-4">
<Button type="submit" size="large" fullWidth>Get started</Button>
<Button href="#" variant="outline" color="neutral" size="large" fullWidth>
<KeyRound slot="start" aria-hidden="true" />
Sign up with SSO
</Button>
</div>
</form>
<p slot="footer" class="text-neutral-faded">
Already have an account? <Link href="#" underline="hover" class="font-semibold">Log in</Link>
</p>
<p slot="legal">© Example 2026</p>
<div slot="panel" class="flex w-full items-center px-16 py-16">
<div class="flex max-w-lg flex-col gap-8">
<Image src="https://picsum.photos/seed/apogee-signup-portrait/640/640" alt="" width={640} height={640} fit="cover" class="size-24 rounded-full" />
<div class="flex flex-col gap-4">
<h2 class="text-4xl font-semibold text-balance">Start turning your ideas into reality.</h2>
<p class="text-lg text-neutral-faded">Create a free account and get every feature for 30 days. No credit card needed, and you are set up in two minutes.</p>
</div>
<div class="flex flex-wrap items-center gap-4">
<AvatarGroup items={people} size="medium" />
<div class="flex flex-col gap-1">
<div class="flex items-center gap-2">
<Rating readonly value={5} size="small" aria-label="Rated 5 out of 5" />
<span class="font-semibold tabular-nums">5.0</span>
</div>
<p class="text-sm text-neutral-faded">from 200+ reviews</p>
</div>
</div>
</div>
</div>
</AuthShell>
Show codeHide code
---
/**
* Split with pitch: The form beside a portrait, a short pitch and social proof.
*
* @page sign-up
*/
import { Orbit, KeyRound } from '@lucide/astro'
import AuthShell from '@/components/apogee/sections/AuthShell/AuthShell.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 Link from '@/components/apogee/Link/Link.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'
const people = [
{ name: 'Mara Okafor', src: 'https://i.pravatar.cc/96?img=47' },
{ name: 'Jonas Weber', src: 'https://i.pravatar.cc/96?img=12' },
{ name: 'Ana Lima', src: 'https://i.pravatar.cc/96?img=32' },
{ name: 'Priya Raman', src: 'https://i.pravatar.cc/96?img=5' },
{ name: 'Tomás Ruiz', src: 'https://i.pravatar.cc/96?img=15' },
]
---
<AuthShell layout="split" heading="Sign up" description="Start your 30-day free trial.">
<a slot="brand" href="#" class="flex items-center gap-2 font-semibold">
<FeaturedIcon theme="solid" color="primary" size="small"><Orbit /></FeaturedIcon>
Example
</a>
<form method="post" class="flex flex-col gap-6">
<div class="flex flex-col gap-5">
<Input label="Name" name="name" placeholder="Enter your name" autocomplete="name" required />
<Input label="Email" type="email" name="email" placeholder="Enter your email" autocomplete="email" required />
<Input label="Password" type="password" name="password" placeholder="Create a password" autocomplete="new-password" minlength="8" hint="Must be at least 8 characters." required />
</div>
<div class="flex flex-col gap-4">
<Button type="submit" size="large" fullWidth>Get started</Button>
<Button href="#" variant="outline" color="neutral" size="large" fullWidth>
<KeyRound slot="start" aria-hidden="true" />
Sign up with SSO
</Button>
</div>
</form>
<p slot="footer" class="text-neutral-faded">
Already have an account? <Link href="#" underline="hover" class="font-semibold">Log in</Link>
</p>
<p slot="legal">© Example 2026</p>
<div slot="panel" class="flex w-full items-center px-16 py-16">
<div class="flex max-w-lg flex-col gap-8">
<Image src="https://picsum.photos/seed/apogee-signup-portrait/640/640" alt="" width={640} height={640} fit="cover" class="size-24 rounded-full" />
<div class="flex flex-col gap-4">
<h2 class="text-4xl font-semibold text-balance">Start turning your ideas into reality.</h2>
<p class="text-lg text-neutral-faded">Create a free account and get every feature for 30 days. No credit card needed, and you are set up in two minutes.</p>
</div>
<div class="flex flex-wrap items-center gap-4">
<AvatarGroup items={people} size="medium" />
<div class="flex flex-col gap-1">
<div class="flex items-center gap-2">
<Rating readonly value={5} size="small" aria-label="Rated 5 out of 5" />
<span class="font-semibold tabular-nums">5.0</span>
</div>
<p class="text-sm text-neutral-faded">from 200+ reviews</p>
</div>
</div>
</div>
</div>
</AuthShell>Add
npx @ava-ui/apogee add sign-up/split-pitch
This copies the page to src/components/apogee/pages/sign-up/ with everything it uses: AuthShell, AvatarGroup, Button, FeaturedIcon, Image, Input, Link, Rating. Render it from one of your routes, or use Copy code above.
Accessibility
- The page heading is the
h1; the fields carry visible labels andautocompletehints (new-passwordfor new passwords, so password managers offer to generate one). - The SSO button is a link to your identity provider; swap its
hreffor your own.
Related
Auth shellThe frame of a log in, sign up or recovery page; brand mark, heading and your form, centred, in a card, beside a panel, or beside a step sidebar.
AvatarGroupOverlapping avatars for a compact "who's involved" cluster, with an optional +N overflow chip.
ImageA responsive, lazy-loaded image — wraps astro:assets Image with sensible defaults.
RatingA star rating on native radios — pick a value on a scale, or display one read-only.