User Account Dropdown Menu With React Hooks And CSS | Detect Outside Click | Get User's Initials

Опубликовано: 12 Май 2026
на канале: JS Solutions
391
5

In this video, I have shown how you can create a custom user account dropdown menu using react hooks and css, the dropdown will be closed when click outside of it. I will also show you how you can get the user's initials from the user's full name

For Example: Hamza Anwar = HA, Hamza = H

Buy me a coffee: https://www.buymeacoffee.com/anwarhamzat