Skip to main content
100%

React Starter

✓ Published1🌍 Public
Vvvs1680
Last edited Nov 27, 2020
Created on Nov 27, 2020
Forked from React Starter

This example demonstrates a simple password visibility toggle in a React form. It shows how a checkbox toggles an input field between “password” and “text” types using the `useState` hook and the component-level `showPwd` state. The React 16.13.1 UMD builds are loaded from unpkg, with the app rendered via `ReactDOM.render` into a root div, and the toggle logic handled by the checkbox’s `onClick` event calling `setShowPwd`.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes