How to use the QR Code icon
import { QrcodeIcon } from "@/assets/icons/qrcodeIcon"
export default function Example() {
return <QrcodeIcon width="32px" height="32px" />
}General icon
Copy the QR Code icon as an optimized JSX SVG component for React, Next.js, dashboards, landing pages and Tailwind interfaces.
Copy-ready code
export const QrcodeIcon = ({ width = "40px", height = "40px", color = "#000", ...props }) => (
<svg fill={color} {...props} width={width} height={height} viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<title>QR Icon</title>
<rect x="336" y="336" width="80" height="80" rx="8" ry="8" />
<rect x="272" y="272" width="64" height="64" rx="8" ry="8" />
<rect x="416" y="416" width="64" height="64" rx="8" ry="8" />
<rect x="432" y="272" width="48" height="48" rx="8" ry="8" />
<rect x="272" y="432" width="48" height="48" rx="8" ry="8" />
<rect x="336" y="96" width="80" height="80" rx="8" ry="8" />
<rect x="288" y="48" width="176" height="176" rx="16" ry="16" fill="none" stroke={color} strokeLinecap="round" strokeLinejoin="round" strokeWidth="32px" />
<rect x="96" y="96" width="80" height="80" rx="8" ry="8" />
<rect x="48" y="48" width="176" height="176" rx="16" ry="16" fill="none" stroke={color} strokeLinecap="round" strokeLinejoin="round" strokeWidth="32px" />
<rect x="96" y="336" width="80" height="80" rx="8" ry="8" />
<rect x="48" y="288" width="176" height="176" rx="16" ry="16" fill="none" stroke={color} strokeLinecap="round" strokeLinejoin="round" strokeWidth="32px" />
</svg>
);
import { QrcodeIcon } from "@/assets/icons/qrcodeIcon"
export default function Example() {
return <QrcodeIcon width="32px" height="32px" />
}Built for the web
This copy-ready component works in React and Next.js projects, and the SVG can be adapted for any interface.
Looking for a similar mark? Browse the related icons below or explore the full general collection.
Yes. You can copy the JSX component and use it in React and Next.js projects.
Yes. Edit the SVG attributes or pass className, width, height and color props depending on the component.