A Reflex custom component for QRCodes based on react-qr-code component.
pip install reflex-qrcode
poetry add reflex-qrcode
title
: [str
] - Title of the QRCode, shows up as tooltipvalue
: [str
] - Value for which QRCode is generatedlevel
: [str
] - QRCode level, valid values areL
,M
,Q
andH
. Default isL
size
: [int
] - QCode size (square), maximum value is256
from reflex_qrcode import QRCode
def index():
return QRCode(
title="Title",
value="Value"
)
See demo code for details.