ZOYKUHot Board

wevm/cuerDocumentación

wevm/cuer open-source repository on GitHub

Tabla de contenidos (5 secciones)▾
Aviso de idioma alternativo:No hay documentación localizada disponible. Mostrando el original en inglés oficial.
Instalación rápida
git clone https://github.com/wevm/cuer.git

cuer

Opinionated QR Code component for React, powered by qr

cuer logo

Install

npm i cuer

Usage

Basic

Use the Cuer component to render a QR code (with an optional arena).

import { Cuer } from 'cuer'

export function App() {
  return <Cuer arena="https://example.com/logo.png" value="https://wevm.dev" />
}

Advanced

Further customization is possible by composition components (ie. Cuer.Root, Cuer.Cells, etc).

import { Cuer } from 'cuer'

export function App() {
  return (
    <Cuer.Root value="https://wevm.dev">
      <Cuer.Finder fill="red" radius={0} />
      <Cuer.Cells fill="blue" radius={0} />
      <Cuer.Arena>
        <img
          src="https://example.com/logo.png"
          style={{ width: '100%', height: '100%', objectFit: 'cover' }}
        />
      </Cuer.Arena>
    </Cuer.Root>
  )
}

License

MIT License

Espejo archivado desde el repositorio oficial de GitHub · Visitar en GitHub
Fecha de captura: 2026-11-07