Qr Code 20 Solid
The qr-code icon represents quick response codes and scannable digital information with its distinctive grid pattern of squares.
Exports at 24 × 24 px
Code
Qr Code 20 Solid in your framework
In any framework. Customize it above, and the code follows.
export const QrCode20SolidIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" {...props}>
<path fill="currentColor" fillRule="evenodd" d="M3.75 2A1.75 1.75 0 0 0 2 3.75v3.5C2 8.216 2.784 9 3.75 9h3.5A1.75 1.75 0 0 0 9 7.25v-3.5A1.75 1.75 0 0 0 7.25 2zM3.5 3.75a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.5a.25.25 0 0 1-.25.25h-3.5a.25.25 0 0 1-.25-.25zM3.75 11A1.75 1.75 0 0 0 2 12.75v3.5c0 .966.784 1.75 1.75 1.75h3.5A1.75 1.75 0 0 0 9 16.25v-3.5A1.75 1.75 0 0 0 7.25 11zm-.25 1.75a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.5a.25.25 0 0 1-.25.25h-3.5a.25.25 0 0 1-.25-.25zm7.5-9c0-.966.784-1.75 1.75-1.75h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 16.25 9h-3.5A1.75 1.75 0 0 1 11 7.25zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25zm-7.26 1a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1h.01a1 1 0 0 0 1-1V5.5a1 1 0 0 0-1-1zm9 0a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1h.01a1 1 0 0 0 1-1V5.5a1 1 0 0 0-1-1zm-9 9a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1h.01a1 1 0 0 0 1-1v-.01a1 1 0 0 0-1-1zm9 0a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1h.01a1 1 0 0 0 1-1v-.01a1 1 0 0 0-1-1zm-3.5-1.5a1 1 0 0 1 1-1H12a1 1 0 0 1 1 1v.01a1 1 0 0 1-1 1h-.01a1 1 0 0 1-1-1zm6-1a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1H17a1 1 0 0 0 1-1V12a1 1 0 0 0-1-1zm-1 6a1 1 0 0 1 1-1H17a1 1 0 0 1 1 1v.01a1 1 0 0 1-1 1h-.01a1 1 0 0 1-1-1zm-4-1a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1H12a1 1 0 0 0 1-1V17a1 1 0 0 0-1-1z" clipRule="evenodd"/>
</svg>
);HeroIcons
More like it
Icons that share its tags, in the same style.
Search HeroIcons
Skip the copy and paste. With Pro, your AI agent finds and installs any HeroIcons icon from a prompt.
Get ProTags
Browse by tag
Qr Code 20 Solid is tagged mobile, code, digital and 4 more. Related tags follow; each opens its icons from every library.
Pricing
HeroIcons MCP, with Pro
Ask for Qr Code 20 Solid or any of 1,288 HeroIcons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Qr Code 20 Solid icon means and where it's used, then how to install, style, label and license it.
The qr-code icon represents quick response codes and scannable digital information with its distinctive grid pattern of squares. This QR symbol has become essential for contactless information sharing, mobile payments, digital authentication, and quick access features across all modern mobile applications and physical-digital integration systems.
In modern applications like restaurant menus or hospitality systems in platforms like Toast, you'll see this qr-code indicating digital menu access, contactless ordering, and table service features. It appears in restaurant tools where menu scanning requires clear visual indicators, or in hospitality systems where contactless features need explicit representation.
From a hospitality perspective, the QR design communicates more than menus - it specifically indicates contactless service, digital access, and the safe nature of touchless ordering versus physical menus. This distinction helps users recognize contactless features versus traditional service methods.
Qr Code 20 Solid is one of 1,288 icons in HeroIcons, made by Refactoring UI Inc and released under MIT. It is drawn on a 20 × 20 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds QrCode20SolidIcon to components/icons/heroicons-qr-code-20-solid.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed QrCode20SolidIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Yes, if your project has @heroicons/react/20/solid: Qr Code 20 Solid is `QrCodeIcon` there, used as <QrCodeIcon />. The shadcn.io MCP server answers with that import when it finds the package. Without it, copy the icon from here.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Qr Code 20 Solid icon, or any of 1,288 HeroIcons icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 20 × 20 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Qr Code 20 Solid", so screen readers say what it does.
Yes. QrCode20SolidIcon passes every SVG prop to the svg element, so <QrCode20SolidIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming HeroIcons, Refactoring UI Inc and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are mobile, code, digital, scan, barcode and QR. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Qr Code 20 Solid in another set.
HeroIcons draws many icons in several styles: Solid next to the default. Open the library and pick a style above the grid to see Qr Code 20 Solid's siblings in it.
4.9 out of 5 from 150+ developers
Install Qr Code 20 Solid from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro