Skip to content
BigBang

Popular

    ↑↓Navigate↵OpenEscClose
    TR

    Components

    QrCode

    Shows a finished payload as a QR code, with dark modules on a light background in every theme and in print.

    Storybook
    Storybook
    Source
    Source

    The example below loads live from Storybook; you can open the controls there.

    Live example, StorybookOpen in Storybook

    caption writes the payment reference and the domain to compare under the code. The QR code must never be the only way to reach the content.

    Live example, StorybookOpen in Storybook

    logo puts a small mark in the centre. The mark covers some modules, so the code is encoded at error correction level Q.

    Live example, StorybookOpen in Storybook

    size is the side length, quiet zone included; the code shrinks to fit a narrower container.

    Live example, StorybookOpen in Storybook

    The QR code is drawn with dark modules on a light background in every mode and in print; scanners cannot always read inverted codes. The caption uses the theme colours.

    Live example, StorybookOpen in Storybook