Skip to main content
  1. Docs
  2. Components
  3. Forms

Password input

A password or a secret, with Show password. Paste always works, and there's no length cap.

Import
@qeetrix/react/experimental
Status
ExperimentalSince 0.0.4
Renders
<input type="password">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Playground

Every prop, live, and the code it takes.

For
password.tsx
import { Field } from "@qeetrix/react";
import { PasswordInput } from "@qeetrix/react/experimental";

<Field label="Password">
  <PasswordInput autoComplete="current-password" />
</Field>

02

To sign in

autoComplete="current-password": the password manager fills it. Show password is a pressed toggle.

03

A new one

new-password, so the manager suggests one; the description states the rule. Type with Caps Lock on to see its warning.

At least 12 characters.

04

A secret

off for a secret that isn't the person's password, with a Copy button at its end.

Shown once. Store it in your vault.

Next — Password inputUsage