Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
react-qr-rounded
Advanced tools
React component for QR code generation with rounded corners and cutout option
React Component for QR code generation.
prop | type | required | default value |
---|---|---|---|
children | string | yes | |
color | string | '#000' | |
backgroundColor | string | ||
cutout | boolean | false | |
cutoutElement | ReactElement | ||
errorCorrectionLevel | string ('L' 'M' 'Q' 'H' ) | 'Q' | |
rounding | number (0 - 100 ) | 0 | |
... | SVGAttributes<SVGElement> |
import ReactDOM from "react-dom";
import { QR } from "react-qr-rounded";
ReactDOM.render(
<QR>https://iofjuupasli.github.io/react-qr-rounded/</QR>,
document.getElementById("app")
);
<QR
color="#000"
backgroundColor="#fff"
rounding={100}
cutout
cutoutElement={
<img
src="https://random.imagecdn.app/500/500"
style={{
objectFit: "contain",
width: "100%",
height: "100%",
}}
/>
}
errorCorrectionLevel="H"
>
https://www.fugo.ai/
</QR>
The word 'QR Code' is registered trademark of DENSO WAVE INCORPORATED
http://www.denso-wave.com/qrcode/faqpatent-e.html
FAQs
React component for QR code generation with rounded corners and cutout option
The npm package react-qr-rounded receives a total of 1,006 weekly downloads. As such, react-qr-rounded popularity was classified as popular.
We found that react-qr-rounded demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.