# Minimal

> Email, password and two buttons, with the account links under the form.

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

Email, password and two buttons, with the account links under the form.

Last updated October 15, 2026

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

```astro
---
/**
 * Minimal: Email, password and two buttons, with the account links under the form.
 *
 * @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 Button from '@/components/apogee/Button/Button.astro'
import Link from '@/components/apogee/Link/Link.astro'
---

<AuthShell heading="Log in to your account" description="Welcome back! Please enter your details.">
  <FeaturedIcon slot="brand" theme="solid" color="primary" size="large"><Orbit /></FeaturedIcon>

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

  <div slot="footer" class="flex flex-col gap-3">
    <p class="text-neutral-faded">Don't have an account? <Link href="#" underline="hover" class="font-semibold">Sign up</Link></p>
    <p><Link href="#" underline="hover" class="font-semibold">Forgot password</Link></p>
  </div>
</AuthShell>
```

## Add

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

This copies the page to `src/components/apogee/pages/log-in/` with everything it uses: AuthShell, Input, Button, Link, FeaturedIcon. 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 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)[

InputA labeled text field with hint/error messaging, wired for accessibility — plus a pure-CSS floating label.

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

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

LinkAn inline text link — for a link that should look like a button, use Button with href instead.

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