QrCode

QrCode is a component that displays a QR code.

Usage

import { QrCode } from "@yamada-ui/react"
<QrCode.Root>
  <QrCode.Frame>
    <QrCode.Pattern />
  </QrCode.Frame>
  <QrCode.Overlay />
</QrCode.Root>

Change Size

Change Color Scheme

Change Color

Change Error Correction Level

To change the error correction level, set ecc to L, M, Q, or H.

Use Overlay

QrCode.Overlay can be used to place an icon on the QR code.

Props

Similar Components

Image

Image is a component that displays images.

NativeTable

NativeTable is a component for efficiently organizing and displaying data.

Picture

Picture is a component that uses the picture element to provide alternative images for different display and device scenarios.

Stat

Stat is used to display numbers or data within a box.

Table

Table is a table component equipped with column sorting, row selection, and click event features.

AreaChart

AreaChart is a component for drawing area charts to compare multiple sets of data.

AspectRatio

AspectRatio is a component for embedding things like videos and maps while maintaining the aspect ratio.

Badge

Badge is a component that emphasizes the status of an item to make it immediately recognizable.