Block Parts
Password Field
A password input with a button to show or hide what was typed.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import { PasswordField } from "@wunderui/react"API Reference
| Prop | Type | Default |
|---|---|---|
| label | ReactNode | — |
| labelTrailing | ReactNode | — |
| helper | ReactNode | — |
| error | ReactNode | — |
| trailing | ReactNode | — |
| size | "sm" | "default" | "lg" | "default" |
| autoComplete | string | "current-password" |
| ...props | TextFieldProps | — |