PageAuth

Full-screen auth page. Slots: background, logo, aside, form, footer; props: title, subtitle, layout (card or split).

Jump to API reference

Import

Vue
import { UiPageAuth } from '@ziyarago/ui/vue'

Card

ZiyaraGo

Sign in

Welcome back to ZiyaraGo

Form slot
Footer slot
Vue
<UiPageAuth title="Sign in" subtitle="Welcome back to ZiyaraGo">
  <template #logo>ZiyaraGo</template>
  <template #form>Form slot</template>
  <template #footer>Footer slot</template>
</UiPageAuth>

Split

ZiyaraGo

Sign in

Welcome back to ZiyaraGo

Form slot
Vue
<UiPageAuth
  layout="split"
  title="Sign in"
  subtitle="Welcome back to ZiyaraGo"
>
  <template #logo>ZiyaraGo</template>
  <template #aside>Aside slot</template>
  <template #form>Form slot</template>
</UiPageAuth>

API reference

Sign-in page template without the app shell, as a centered card or a split layout.

Props

PropType and valuesDefaultDescription
layoutcardsplitphotolighttint'card''split' uses AuthSplit with a side panel. 'photo', 'light' and 'tint' use AuthShowcase with a media panel (Pro: needs @ziyarago/ui-pro, otherwise they fall back to the centered card). Anything else renders a centered AuthLayout card over the background.
imagestring—Media image URL; photo, light and tint layouts.
headlinestring—Large text on the media panel; photo and tint.
captionstring—Small text on the media panel or glass bar.
quotestring—Bottom line of the media panel; photo only.
chipsstring[]—Pill labels in the glass bar; light and tint.
people{ name: string; src?: string }[]—Avatars on the media panel or in the proof pill.
proofstring—Social-proof title under the form; light and tint.
proofHintstring—Second line of the proof pill.
titlestring—Form heading.
subtitlestring—Text under the heading.

Slots

Vue: named slots. React: a prop with the same name; default is children.

backgroundDecorative glows behind the card; card layout only.
logoLogo above the heading.
asideBrand panel on the left; split layout only, hidden below 820 px.
formSign-in fields and button; LoginForm, TextField, PasswordInput, CodeInput, Button.
footerLinks such as help, create account, back to login.

Notes

  • Designed for the dark theme and used without AppShell.