Go Main page
Go Main page

Web components

cover

components

Input Password

v.1.0.0 | Saturn

Field that allows entering and displaying password.

import { InputPassword } from '@kubit-ui-web/react-components'
123456
<InputPassword
  variant="DEFAULT"
  name="inputName"
  activeIcon={{ icon: 'ICON_SHOW', altText: 'Show password' }}
  disabledIcon={{ icon: 'ICON_PLACEHOLDER', altText: 'Hide password' }}
/>

The inputPassword component inherits its properties of the input component. For more information visit the Input documentation.

Variant

In Kubit Design System, users have the freedom to generate variants for each component according to their needs. While predefined variants are provided as examples, they can be modified or new ones can be added to align with the specific requirements of each project.

We have set this predefine style for its quick use, access them through the variant prop:

123456
<InputPassword
  variant="DEFAULT"
  name="inputName"
  activeIcon={{ icon: 'ICON_SHOW', altText: 'Show password' }}
  disabledIcon={{ icon: 'ICON_PLACEHOLDER', altText: 'Hide password' }}
/>