Skip to content
nexubDesign System
v2.4.0

Components · Form & Input

Password Input

StableSince v0.0.1

A password field with a built-in toggle to reveal or hide the entered value.

import { PasswordInput } from '@nexub/react';

Examples

Default

Invalid

Props

Props
PropTypeDefaultDescription
placeholderstring—Placeholder text shown when the field is empty.
invalidboolean—Applies error styling to indicate a validation failure.
disabledboolean—Disables the input.
size'sm' | 'md' | 'lg'—Controls font size and padding.