Picture sign-inOfficial
A sign-in frame for BitaKit apps: a picture or a message covers the screen and the form floats on a panel beside it.
bitakit · Plugin for every BitaKit app
- Type
- Package
- Needs a build
- Kind
- Plugin
- BitaKit
- Version
- 0.3.0
- Latest
- Works with
- Any app
- Every BitaKit app
- Contains
- 1
- part
- Publisher
- bitakit
- Official
Preview
3 pictures



About
A frame for the sign-in pages of a BitaKit app. A picture or a message covers the whole screen, and the form floats on a panel at one side. On a phone the form stands alone.

npm install @bitakit/picture-sign-in
The package is a BitaKit plugin (ID picture-sign-in) and needs @bitakit/shell. It brings one frame for
the pages of the auth family (sign-in, sign-up, password reset): picture-sign-in:default. When it is the
only sign-in frame of the app, it renders as soon as it is installed. Beside another one, choose
it:
npx bitakit shell use @bitakit/picture-sign-in --all
npx bitakit shell reset --part layout.auth returns to Shell's own sign-in frame.
Fill the cover
The frame shows what the app puts into the shell.auth.aside slot. A picture that fills its
container covers everything behind the panel:
// src/ui/slots/shell.auth.aside.tsx
export default function SignInCover() {
return <img src="/sign-in.jpg" alt="" className="absolute inset-0 size-full object-cover" />;
}
Text and other content in the normal flow (a quote, what the product does) is centered in the room beside the panel instead. Without anything in the slot the room shows the theme's muted background.
What it shows where
-
From 1024 px: the cover on the whole screen, and a panel with the
shell.brandslot and the page at one side. The side is the Shell optionauth.form(startby default), the same option Shell's own split frame reads:// src/configs/shell.ts import { defineConfig } from '@bitakit/core'; import type { ShellOptions } from '@bitakit/shell'; export default defineConfig({ defaults: { auth: { form: 'end' } } satisfies ShellOptions, }); -
Below that: the brand and the page alone, as in Shell's split frame.
The page is the app's own (its card, its fields, its buttons); the frame only places it.
Good to know
- The frame reaches only pages of the
authfamily. From@bitakit/better-auth-ui0.3.6 its sign-in pages join it on their own; with an older release setauthLayout: 'auth'insrc/configs/better-auth-ui.ts. - A cover picture is decoration: give it an empty
alt, and keep everything a person has to read in the page itself. - Choose a picture that still works when the panel hides one side of it, and check it in the dark color scheme.
What's inside
- Sign-in frames
- 1
Requirements
- shell
Permissions
It adds and checks no permissions.
Information
- Publisher
- bitakit · Official
- Type
- PackageNeeds installation: add it to the app's code and build the app.
- Kind
- Plugin
- Works with
- Every BitaKit app
- Categories
- Sign-in