Split with photo and glass card
SSO first, beside reviews that rotate in a frosted card over a photo.
Last updated
---
/**
* Split with photo and glass card: SSO first, beside reviews that rotate in a frosted card over a photo.
*
* @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 Carousel from '@/components/apogee/Carousel/Carousel.astro'
import Rating from '@/components/apogee/Rating/Rating.astro'
import Divider from '@/components/apogee/Divider/Divider.astro'
const reviews = [
{ quote: 'We set up the whole team before lunch. The onboarding just gets out of the way.', name: 'Mara Okafor', role: 'Head of Operations, Oakmere', avatar: 'https://i.pravatar.cc/96?img=47' },
{ quote: 'Single sign-on took ten minutes. Our security review took longer to schedule.', name: 'Jonas Weber', role: 'IT Lead, Fernhill', avatar: 'https://i.pravatar.cc/96?img=12' },
{ quote: 'The trial had everything we needed to decide. No sales call, no surprises.', name: 'Ana Lima', role: 'Founder, Brightwell', avatar: 'https://i.pravatar.cc/96?img=32' },
]
---
<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>
<div class="flex flex-col gap-6">
<Button href="#" variant="outline" color="neutral" size="large" fullWidth>
<KeyRound slot="start" aria-hidden="true" />
Sign up with SSO
</Button>
<Divider>or</Divider>
<form method="post" class="flex flex-col gap-4">
<Input label="Email" type="email" name="email" placeholder="Enter your email" autocomplete="email" required />
<Button type="submit" size="large" fullWidth>Get started</Button>
</form>
</div>
<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="relative flex w-full items-end">
<Image src="https://picsum.photos/seed/apogee-signup-3/1200/1600" alt="" width={1200} height={1600} fit="cover" class="absolute inset-0 size-full" />
<!-- A frosted card: scoped to the dark theme so its text stays readable over the photo. -->
<div data-theme="dark" class="relative m-8 flex-1 rounded-2xl border border-neutral-faded bg-page/40 p-8 text-neutral backdrop-blur-md">
<Carousel itemWidth="100%" controlsPosition="below" controlsVariant="overlay" label="Customer reviews">
{reviews.map((r) => (
<figure class="flex flex-col gap-6">
<Rating readonly value={5} aria-label="Rated 5 out of 5" />
<blockquote class="text-2xl font-medium text-balance">{r.quote}</blockquote>
<figcaption>
<p class="font-semibold">{r.name}</p>
<p class="text-sm text-neutral-faded">{r.role}</p>
</figcaption>
</figure>
))}
</Carousel>
</div>
</div>
</AuthShell>
Show codeHide code
---
/**
* Split with photo and glass card: SSO first, beside reviews that rotate in a frosted card over a photo.
*
* @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 Carousel from '@/components/apogee/Carousel/Carousel.astro'
import Rating from '@/components/apogee/Rating/Rating.astro'
import Divider from '@/components/apogee/Divider/Divider.astro'
const reviews = [
{ quote: 'We set up the whole team before lunch. The onboarding just gets out of the way.', name: 'Mara Okafor', role: 'Head of Operations, Oakmere', avatar: 'https://i.pravatar.cc/96?img=47' },
{ quote: 'Single sign-on took ten minutes. Our security review took longer to schedule.', name: 'Jonas Weber', role: 'IT Lead, Fernhill', avatar: 'https://i.pravatar.cc/96?img=12' },
{ quote: 'The trial had everything we needed to decide. No sales call, no surprises.', name: 'Ana Lima', role: 'Founder, Brightwell', avatar: 'https://i.pravatar.cc/96?img=32' },
]
---
<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>
<div class="flex flex-col gap-6">
<Button href="#" variant="outline" color="neutral" size="large" fullWidth>
<KeyRound slot="start" aria-hidden="true" />
Sign up with SSO
</Button>
<Divider>or</Divider>
<form method="post" class="flex flex-col gap-4">
<Input label="Email" type="email" name="email" placeholder="Enter your email" autocomplete="email" required />
<Button type="submit" size="large" fullWidth>Get started</Button>
</form>
</div>
<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="relative flex w-full items-end">
<Image src="https://picsum.photos/seed/apogee-signup-3/1200/1600" alt="" width={1200} height={1600} fit="cover" class="absolute inset-0 size-full" />
<!-- A frosted card: scoped to the dark theme so its text stays readable over the photo. -->
<div data-theme="dark" class="relative m-8 flex-1 rounded-2xl border border-neutral-faded bg-page/40 p-8 text-neutral backdrop-blur-md">
<Carousel itemWidth="100%" controlsPosition="below" controlsVariant="overlay" label="Customer reviews">
{reviews.map((r) => (
<figure class="flex flex-col gap-6">
<Rating readonly value={5} aria-label="Rated 5 out of 5" />
<blockquote class="text-2xl font-medium text-balance">{r.quote}</blockquote>
<figcaption>
<p class="font-semibold">{r.name}</p>
<p class="text-sm text-neutral-faded">{r.role}</p>
</figcaption>
</figure>
))}
</Carousel>
</div>
</div>
</AuthShell>Add
npx @ava-ui/apogee add sign-up/split-photo-quote-glass
This copies the page to src/components/apogee/pages/sign-up/ with everything it uses: AuthShell, Button, Carousel, Divider, 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 frosted card is scoped to the dark theme, so its text stays readable over any photo.
- 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.
CarouselA horizontal scroll-snap track for browsing slides. Native scroll and swipe work with zero JS; arrows, dots, and autoplay are progressive enhancement.
DividerA separator between content, horizontal or vertical.
ImageA responsive, lazy-loaded image — wraps astro:assets Image with sensible defaults.