Build Instagram login page with Next.js and TailwindCSS Part 5— Show/Hide password button

In this article, we are going to create “Show/Hide” button at the password input field. We will use the tailwindCSS to position the button, also use the React useState to change of text at the show/hide button and the type of the input field.

https://youtu.be/pySeurrp9ok

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store