LoginFormPassword
Loading example…
LoginFormPassword is part of the Auth set, imported from @jcsoftdev/ui/auth.
Import
Section titled “Import”import { LoginFormPassword } from "@jcsoftdev/ui/auth";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/auth/login-form.
<LoginFormPassword portals={[]} />| Prop | Type | Default | Description |
|---|---|---|---|
forgotHref |
string |
Adds a “Forgot your password?” link to this address. | |
forgot |
ReactNode |
Replaces the forgot link with any node (a router link, a button). | |
label |
string |
Visible label. The default design hides it visually and keeps it for assistive technology. | |
placeholder |
string |
||
className |
string |
* marks a required prop.
Storybook stories
Section titled “Storybook stories”- Standalone
- With Portals
- Portal Tiles Focus And Check
- Complete
- Missing Identifier
- Wrong Password
- Loading
- Controlled Error
- Inside Auth Layout
- Repeated Error
- Controlled Outcome Reset
- Keeps Default Active Index
- Submit Keeps Focus While Loading
Source
Section titled “Source”packages/ui/src/auth/login-form/parts.tsx