Skip to content

Sign-in page

A split sign-in or sign-up page: the form on one side, the brand and a quote or image on the other.

Sign in

Ledger

Sign in

Welcome back. Your close is 72% done.

or

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/auth.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-authThe page. Stacks to the form only on narrow screens.
mn-auth-main · mn-auth-formThe form column and the form (max 24rem).
mn-auth-asideThe brand panel, shown from 60rem.
mn-orAn “or” divider between single sign-on and email.

Accessibility

  • Use autocomplete="email" and autocomplete="current-password" (or "new-password") so password managers work.
  • Show errors next to the field with aria-describedby and aria-invalid.
  • Never disable paste in password fields.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page