# Split with carousel

> The form beside a dark panel that walks through what is new.

URL: https://apogee.avaui.dev/docs/log-in-pages/split-carousel
Last updated: 2026-10-15

The form beside a dark panel that walks through what is new.

Last updated October 15, 2026

Live example: https://apogee.avaui.dev/examples/log-in/split-carousel

```astro
---
/**
 * Split with carousel: The form beside a dark panel that walks through what is new.
 *
 * @page log-in
 */
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 Checkbox from '@/components/apogee/Checkbox/Checkbox.astro'
import Button from '@/components/apogee/Button/Button.astro'
import Link from '@/components/apogee/Link/Link.astro'
import Carousel from '@/components/apogee/Carousel/Carousel.astro'
import Card from '@/components/apogee/Card/Card.astro'
import Stat from '@/components/apogee/Stat/Stat.astro'
import CircularProgress from '@/components/apogee/CircularProgress/CircularProgress.astro'

const slides = [
  { title: 'Welcome to your new dashboard', text: 'Sign in to explore what changed.', stat: { label: 'Active users', value: '4,862', change: '+12%', trend: 'up' as const }, goal: 72 },
  { title: 'Reports that build themselves', text: 'Weekly summaries land in your inbox.', stat: { label: 'Reports sent', value: '1,204', change: '+31%', trend: 'up' as const }, goal: 88 },
  { title: 'Invite your whole team', text: 'Roles and seats, managed in one place.', stat: { label: 'Seats used', value: '38', change: '+6', trend: 'up' as const }, goal: 54 },
]
---

<AuthShell layout="split" panelBackground="inverted" heading="Log in" description="Welcome back! Please enter your details.">
  <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="Email" type="email" name="email" placeholder="Enter your email" autocomplete="email" required />
      <Input label="Password" type="password" name="password" placeholder="••••••••" autocomplete="current-password" required />
    </div>
    <div class="flex flex-wrap items-center justify-between gap-x-4 gap-y-2">
      <Checkbox label="Remember for 30 days" name="remember" />
      <Link href="#" underline="hover" class="text-sm font-semibold">Forgot password</Link>
    </div>
    <div class="flex flex-col gap-4">
      <Button type="submit" size="large" fullWidth>Sign in</Button>
      <Button href="#" variant="outline" color="neutral" size="large" fullWidth>
        <KeyRound slot="start" aria-hidden="true" />
        Sign in with SSO
      </Button>
    </div>
  </form>

  <p slot="footer" class="text-neutral-faded">
    Don't have an account? <Link href="#" underline="hover" class="font-semibold">Sign up</Link>
  </p>
  <p slot="legal">© Example 2026</p>

  <div slot="panel" class="flex w-full items-center justify-center px-16 py-16">
    <Carousel itemWidth="100%" dots controlsPosition="below" label="What's new" class="w-full max-w-md">
      {slides.map((s) => (
        <div class="flex flex-col items-center gap-10 text-center">
          <Card raised padding="large" class="w-full text-start">
            <div class="flex items-center justify-between gap-6">
              <Stat {...s.stat} comparison="vs last month" />
              <CircularProgress value={s.goal} size="xlarge" label="Monthly goal" />
            </div>
          </Card>
          <div class="flex flex-col gap-2">
            <p class="text-xl font-semibold">{s.title}</p>
            <p class="opacity-80">{s.text}</p>
          </div>
        </div>
      ))}
    </Carousel>
  </div>
</AuthShell>
```

## Add

```sh
npx @ava-ui/apogee add log-in/split-carousel
```

This copies the page to `src/components/apogee/pages/log-in/` with everything it uses: AuthShell (layout split), Carousel, Card, Stat, CircularProgress. Render it from one of your routes, or use **Copy code** above.

## Accessibility

-   The page heading is the `h1`; the form fields carry visible labels and `autocomplete` hints, so password managers fill them.
-   The carousel has a name (“What’s new”), each slide reads as “n of 3”, and the arrows and dots sit in one row under the slides.
-   The SSO button is a link to your identity provider; swap its `href` for 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.

](https://apogee.avaui.dev/docs/sections/auth-shell)[

CarouselA horizontal scroll-snap track for browsing slides. Native scroll and swipe work with zero JS; arrows, dots, and autoplay are progressive enhancement.

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

StatDisplays a labelled metric with an optional trend indicator. For dashboards and summary rows.

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

Circular progressA determinate ring or half ring drawn as an SVG stroke, with the value in the middle.

](https://apogee.avaui.dev/docs/circular-progress)
