프로젝트
GitHub에서 보기
LGLabGreg/react-qr-code
소개
A highly customizable and lightweight QR code generator for React applications.
웹 및 앱 개발What you can do
- Highly Customizable - Style the finder patterns, modules, and colors exactly how you want.
- Frames - Wrap the QR code in a frame with a call-to-action label like "Scan me!".
- Performance Optimized - Generates QR codes efficiently without sacrificing quality.
- SVG-Based Rendering - Crisp and scalable output for web and print
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
@lglab/react-qr-code
A highly customizable and lightweight QR code generator for React applications.
🚀 Live Demo: reactqrcode.com/demo
📖 Documentation: reactqrcode.com
Quick Features
- Highly Customizable - Style the finder patterns, modules, and colors exactly how you want.
- Frames - Wrap the QR code in a frame with a call-to-action label like "Scan me!".
- Performance Optimized - Generates QR codes efficiently without sacrificing quality.
- SVG-Based Rendering - Crisp and scalable output for web and print
- React Native - The same component renders in React Native and Expo through react-native-svg.
- Developer-Friendly - Built with TypeScript, easy to use, and well-documented.
Install
pnpm add @lglab/react-qr-code
or
npm i @lglab/react-qr-code
or
yarn add @lglab/react-qr-code
or
bun add @lglab/react-qr-code
Quick Start
import { ReactQRCode } from '@lglab/react-qr-code'
const Page = () => {
return (
<ReactQRCode value='https://reactqrcode.com' />
);
}
React Native
The same component works in React Native 0.82+ and Expo SDK 55+. Install it with react-native-svg:
npx expo install @lglab/react-qr-code react-native-svg
Import it as above; Metro picks the native build automatically. The native ref has toDataURL() (a PNG data URL) instead of download(). See reactqrcode.com/react-native for the details.
관련 프로젝트 살펴보기
불러오는 중…