---
title: "Password"
slug: password
category: component
type: technical-information
version: 20.0.0
tokens: 218
source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-password--technical-information.txt
---
# Password
## Password
This component extends all the native `` attributes.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
| `clearable` | `boolean` | No | undefined | Whether the clear button is displayed. |
| `i18n` | `Partial` | No | undefined | Internal translations override (see Input i18n keys). |
| `invalid` | `boolean` | No | undefined | Whether the component is in error state. |
| `loading` | `boolean` | No | undefined | Whether the component is in loading state. |
| `locale` | `'fr' | 'de' | 'en' | 'es' | 'it' | 'nl' | 'pl' | 'pt'` | No | undefined | The locale used for the translation of the internal elements. |
| `maskInitialState` | `'open' | 'close'` | No | undefined | The masked display initial state. |
| `onClear` | `() => void` | No | undefined | Callback fired when the input value is cleared. |