Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mobile-starter.amisi.ai/llms.txt

Use this file to discover all available pages before exploring further.

PasswordInput

Use PasswordInput for password capture with built-in visibility toggle and optional strength indicator.

Basic usage

import { PasswordInput } from '@amisi/ui';

<PasswordInput value={password} onChangeText={setPassword} />;

Example

import { PasswordInput } from '@amisi/ui';

<PasswordInput
  label="Create password"
  value={password}
  onChangeText={setPassword}
  showStrengthIndicator
  placeholder="Minimum 8 characters"
/>;

Available props

  • label?: string (defaults to Password)
  • error?: string
  • helperText?: string
  • showStrengthIndicator?: boolean
  • Inherits TextInputProps except secureTextEntry (managed internally)

Available methods and handlers

  • onChangeText(text): change handler from inherited TextInputProps
  • onBlur(event): blur handler from inherited TextInputProps
  • onFocus(event): focus handler from inherited TextInputProps