TidalUI

Sign-in form preview

A complete email-and-password sign-in block with native form behavior and consumer-owned authentication.

pro · Blocks · composite

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/sign-in-form

Import components/ui/tidal.css, components/ui/sign-in-form.css. Wrap installed components in tidal-scope.

Preview

Sign-in form component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/sign-in-form.css";
import{TidalSignInForm}from"./components/ui/sign-in-form";
export default()=><div className="tidal-scope"><TidalSignInForm title={"Demo"}/></div>;

API and props

TidalSignInForm.title (required)
string

Required title value accepted by this exported component.

TidalSignInForm.busy
boolean | undefined

Optional busy value accepted by this exported component.

TidalSignInForm.busyLabel
string | undefined

Optional busy label value accepted by this exported component.

TidalSignInForm.defaultPasswordRevealed
boolean | undefined

Optional default password revealed value accepted by this exported component.

TidalSignInForm.description
string | undefined

Optional description value accepted by this exported component.

TidalSignInForm.emailError
string | undefined

Optional email error value accepted by this exported component.

TidalSignInForm.emailInputProps
SignInInputProps | undefined

Optional email input props value accepted by this exported component.

TidalSignInForm.emailLabel
string | undefined

Optional email label value accepted by this exported component.

TidalSignInForm.emailRef
Ref<HTMLInputElement> | undefined

Optional email ref value accepted by this exported component.

TidalSignInForm.eyebrow
string | undefined

Optional eyebrow value accepted by this exported component.

TidalSignInForm.footer
ReactNode

Optional footer value accepted by this exported component.

TidalSignInForm.formError
string | undefined

Optional form error value accepted by this exported component.

TidalSignInForm.formErrorRef
Ref<HTMLDivElement> | undefined

Optional form error ref value accepted by this exported component.

TidalSignInForm.headingLevel
"h2" | "h3" | "h4" | undefined

Optional heading level value accepted by this exported component.

TidalSignInForm.hidePasswordLabel
string | undefined

Optional hide password label value accepted by this exported component.

TidalSignInForm.onPasswordRevealedChange
((revealed: boolean) => void) | undefined

Callback invoked when the password revealed change interaction is proposed.

TidalSignInForm.passwordError
string | undefined

Optional password error value accepted by this exported component.

TidalSignInForm.passwordInputProps
SignInInputProps | undefined

Optional password input props value accepted by this exported component.

TidalSignInForm.passwordLabel
string | undefined

Optional password label value accepted by this exported component.

TidalSignInForm.passwordRef
Ref<HTMLInputElement> | undefined

Optional password ref value accepted by this exported component.

TidalSignInForm.passwordRevealed
boolean | undefined

Optional password revealed value accepted by this exported component.

TidalSignInForm.showPasswordLabel
string | undefined

Optional show password label value accepted by this exported component.

TidalSignInForm.submitButtonProps
Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type" | "children"> | undefined

Optional submit button props value accepted by this exported component.

TidalSignInForm.submitLabel
string | undefined

Optional submit label value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas