Did you know?dyk.si

Split Screen

A page divided in two halves: an image or message on one side, a form or content on the other.

display: grid; grid-template-columns: 1fr 1fr

When to use it

For sign-in pages and comparisons.

Common mistake

Don’t keep two columns on mobile.

Accessibility

Stack the halves on small screens, with the important half first.

Name in code

HTML/CSSdisplay: grid; grid-template-columns: 1fr 1fr
Reactgrid-cols-2
Jetpack ComposeRow(Modifier.weight(1f)) x2
SwiftUIHStack / ViewThatFits

Ready prompt for your coding agent

Add a Split Screen to this screen. What it is: A page divided in two halves: an image or message on one side, a form or content on the other. Implement with: display: grid; grid-template-columns: 1fr 1fr (HTML/CSS). Accessibility: Stack the halves on small screens, with the important half first. When to use it: For sign-in pages and comparisons. Avoid: Don’t keep two columns on mobile. Reuse the project's existing design tokens, spacing and component conventions.

Or compose a whole page from this element and others →

Prompts are in English for the most precise results with coding agents.