EN FR
← Modules

jizy-reveal

Reveal password input fields.

Overview

Reveal provides a way to show or hide sensitive information such as passwords in input fields. It adds a toggle next to the input and exposes callbacks for every state transition.

Features

  • Toggle visibility on any password or sensitive input
  • Customisable "show" and "hide" labels
  • Lifecycle callbacks for load, show and hide events
  • Vanilla JavaScript, zero dependency

Installation

npm install jizy-reveal