Skip to main content

Reflex custom component QRCode

Project description

QRCode

A Reflex custom component for QRCodes based on react-qr-code component.

Installation

PIP

pip install reflex-qrcode

Poetry

poetry add reflex-qrcode

Usage

Props

  • title: [str] - Title of the QRCode, shows up as tooltip
  • value: [str] - Value for which QRCode is generated
  • level: [str] - QRCode level, valid values are L, M, Q and H. Default is L
  • size: [int] - QCode size (square), maximum value is 256
from reflex_qrcode import QRCode

def index():
    return QRCode(
        title="Title", 
        value="Value"
    )

See demo code for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reflex_qrcode-0.0.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

reflex_qrcode-0.0.1-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page