Theme
Design your own
On this page (7)

§The template

The sign-in of a product, composed from the Account & States blocks - the source is the page. Sign in, create an account, reset the password and the signed-in state are routes of defuss-dom-router (#/sign-up); submitting a form moves on, and the language switch translates the cards with defuss-i18n. The Look select changes the palette and what moves behind the quote.

§Sign in

Sign in, create an account, reset the password and the signed-in state are routes (#/sign-up, #/reset); the switch translates them. Login Form with Social Login, Signup Form, Reset Request and a Success State beside a panel of moving light - only Account & States blocks.

§More screens

The other screens of an account, each one example of its own: the settings, a step of the onboarding and the three states a page falls into. They take the palette of the page they sit on.

§Account settings

A settings page: the sections listed on the left, the Profile Header over Security and Notification Settings on the right - the same blocks, in the theme of the page. The list follows the page: a click marks its link and scrolls there, scrolling marks the section that fills the view (aria-current, an IntersectionObserver).

§An onboarding step

One question of a short onboarding survey: Form Progress names the four steps and marks this one, the Survey Question asks it - centered, with nothing else on the page.

§Empty, success and error states

The three states a page falls into: nothing there yet (the folder bobs), something done (dots fly from the check) and something wrong (the icon shakes once) - Empty, Success and Error State side by side.

§The blocks

Login Form

Authenticates a user with account credentials - email, password, "remember me" and a reset link, on a card, beside a picture, or plain.

Social Login

Provides authentication through external identity providers - Google, Apple, GitHub, Microsoft - as full-width buttons, an icon row, with a divider to the email form.

Signup Form

Collects the information needed to create an account - name, email, a new password with its rules, consent - on a card or beside the benefits.

Reset Request

Requests a password-reset link for an account - the email field, then the "check your inbox" state with a way to resend.

Password Reset

Collects and confirms a replacement password - the new password with its rules, the confirmation, and the done state.

Profile Header

Presents a user's avatar, identity, biography, and relevant actions - a cover, an overlapping avatar, name and handle, bio, details, counts and follow / message.

Profile Form

Edits a user's personal information - photo, name, username, bio, website and time zone - as settings rows with a description beside each group.

Security Settings

Manages passwords, authentication methods, and active sessions - the password, two-factor methods, passkeys and every signed-in device.

Notification Settings

Controls notification topics and delivery channels - a matrix of topics by channel, or a list of switches with a digest frequency.

Support Form

Collects an issue description and supporting attachments - topic, subject, description, priority and files, beside the expected response time and self-help links.

Feedback Form

Collects a rating or written feedback about an experience - faces and topics on a card, a 0–10 recommendation scale, or "was this helpful?" inline.

Survey Question

Presents one question with its response controls - a single choice as cards, several choices, an agreement scale, or a written answer.

Form Progress

Shows the current stage and remaining steps of a form - a bar with the step names, numbered steps, segments or one compact line.

Empty State

Explains missing content and offers an appropriate next action - an icon, why it is empty, and the first step; on a dashed area or inline in a list.

Error State

Explains a failure and provides recovery actions - what went wrong in plain words, what to do, and the technical details on request.

Success State

Confirms a completed action and offers relevant next steps - a check with a ripple, what happened, and where to go from here.

Coming Soon

Announces an upcoming launch and its expected availability - the date, a live rolling countdown, a notify-me form and where to follow along.

Maintenance

Explains temporary unavailability and provides status information - what is happening, when it ends, and where to follow; or a banner announcing it.

404 Page

Tells visitors the page does not exist and helps them on - a big 404, a search, the most useful links and the way home.

Comments, ideas or improvements? Edit this page's source on GitHub