Search documentation

Search guides, examples, and component APIs.

Quick links
↑↓ NavigateEnter OpenEsc Close
Get started

Blocks / Authentication

Centered login

A focused sign-in card with Google, GitHub, and SSO options, validation, and a sign-up footer.

bunx --bun @getweini/cli@latest add alert button card checkbox input link password-input separator
Customize
  • The block is controlled: pass `loading` while your request runs and `error` with the message to show. It validates email and password itself and only emits `submit` for valid values.
  • The provider row emits `provider` with `google`, `github`, or `sso`. On phones the row shows icons only; each button keeps its text as the accessible name.
  • Every visible string lives in the `copy` prop. Replace the brand mark in the `brand` slot with your logo, and point `#status` at your status page or delete that line.
  • The grid texture and glow are drawn from `--border` and `--primary`, so a token change restyles them in light and dark. Delete the two decorative elements at the top of the template for a plain background.