(You may have to authenticate this action.)
Tap on the cog next to your Wi-Fi network.Make sure your device is connected to the Wi-Fi network you want to share and go to Settings, Network and Internet (it might be called Connections depending on your device), then Wi-Fi.
With Android devices, you can use a QR code to share Wi-Fi details, provided the phones or tablets in question are running Android 10 or later. Head to the Settings app and tap on Network and Internet. Not all Android phones have the same Settings menu, so yours might look different.