Skip to content
Browse docs and components

Sign in, split with image

auth-1

A sign-in page with the form on one side and a framed image on the other: email or username, a password with a show toggle and a forgot link, then Google and Apple. The image steps aside on narrow screens.

Responsive

Install

$npxshadcnadd@forme/auth-1

Adds the component, its registry dependencies, and the token stylesheet you import once.

API reference

Read from the source, so it is the API of the file you install. A prop marked * is required.

Auth1

Sign in, with the form on the left and a framed image on the right. Below a wide container the image steps aside and the form takes the page.

PropTypeDefaultDescription
image*string—The artwork on the right. Decorative, so it has no alt text.
actionComponentProps<"form">["action"]—Where the form posts: a URL or a server action.

Also takes every prop of <div> attributes.