Requirement: Generate QR Code in power apps using Image, TextInput, and Button
Create a Blank canvas app, add label to the screen. Now add Textinput, Button and Image to the screen
Button- OnSelect Property declare a variable
Set(varQRData,TextInput1.Text)
![](http://rishandigital.com/wp-content/uploads/2023/05/image-26-1024x413.png)
On Image Property-
If(varQRData="" || IsBlank(varQRData), "https://api.qrserver.com/v1/create-qr-code/?size=300*300&data=Example","https://api.qrserver.com/v1/create-qr-code/?size=300*300&data=" & varQRData )
![](http://rishandigital.com/wp-content/uploads/2023/05/image-25-1024x270.png)
Now Click on Preview button. and write the QR code in Textinput and click on Generate code and the result is the QR code will be changed as per the input code.