Sign-in splitPro
Work screens / Sign-in split: a split sign-in page. The form on the left: Continue with Google or GitHub (official marks), or email and password with checks on submit, Show password, Forgot password, a wrong-password count and a lock after three tries, and a demo account to fill in. The art panel on the right with a customer quote steps aside on narrow widths.
oxyn add sign-in-splitThe preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Sign in to a workspace with SSO or email and password, with clear errors.
When not to use
- Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
- The app frame: use App shell instead.
- An assistant docked beside a page: use AI side panel instead.
Installation
Sign-in split is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add sign-in-splitUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Sample
Sample data, the page as an inset card beside the sidebar.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Flat
The same view with the page edge to edge.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Loading
Skeletons where the data lands.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Empty
A first run: what will show here and how to start.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Invalid
Submitted with a short password and a bad email.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Wrong
A wrong password: two tries left.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Signing
Continuing with GitHub.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
SignInSplitScreen
| Prop | Type | Default | Description |
|---|---|---|---|
layout | String | "inset" | `inset` or `flat`. |
state | String | "sample" | A state key. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Enter | Sign in |
| Tab | SSO buttons, email, Forgot password, password, Show, Sign in |
Accessibility
- Fields have labels and aria-invalid with the message tied by aria-describedby.
- The wrong-password line is an alert; SSO buttons report aria-busy while signing in.
Responsive behaviour
- Authored on the 1440 × 900 canvas: a 248 px sidebar, the page as an inset card and, where the screen has one, a 328 px right card in the gutter.
- Under 960 px the sidebar becomes a drawer from the header's menu button and the right card hides.
- Under 640 px header actions turn into icon buttons, grids drop to one column and labels ellipsise.
Edge cases (spec)
Authored on the 1440 × 900 stage and scaled to its column; /full renders at the real viewport. scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark. Under 860 px the art panel steps aside and the form fills the page; under 420 px the "No account?" text hides.
Notes for AI
- Import
SignInSplitScreenfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
SignInSplitElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.