Payments96px 160px 240px +
Payments
QR code
- File
qr-code.svg- viewBox
0 0 1008.8 1008.8- Weight
- 1 KB
Use it
React
import { Illustration } from '@ba-icons/react';
import qrCode from '@ba-icons/illustrations/payments/qr-code';
<Illustration asset={qrCode} size={160} />Vue
<script setup>
import { Illustration } from '@ba-icons/vue';
import qrCode from '@ba-icons/illustrations/payments/qr-code';
</script>
<template>
<Illustration :asset="qrCode" :size="160" />
</template>Astro
---
import { Illustration } from '@ba-icons/astro';
import qrCode from '@ba-icons/illustrations/payments/qr-code';
---
<Illustration asset={qrCode} size={160} />HTML
<script src="https://icons.atmosphere.africa/cdn/ba-icons-0.4.0.js" defer></script>
<ba-illustration name="payments/qr-code" size="160"></ba-illustration>SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1008.8 1008.8" fill="currentColor"><path d="M19.4 435.4V19.4H435.4V435.4ZM158.4 158.4V296.4H296.4V158.4ZM573.4 19.4H989.4V435.4H573.4ZM850.4 296.4V158.4H712.4V296.4ZM19.4 989.4V573.4H435.4V989.4ZM158.4 712.4V850.4H296.4V712.4ZM920.4 573.4H989.4V850.4H781.4V781.4H712.4V989.4H573.4V573.4H781.4V643.4H920.4ZM920.4 920.4H989.4V989.4H920.4ZM781.4 920.4H850.4V989.4H781.4Z"></path></svg>From the CDN
Link to the file instead of installing it: for <img>, CSS, emails and docs, with nothing added to your bundle. Served with CORS and cached for an hour.
https://icons.atmosphere.africa/svg/payments/qr-code.svg<img src="https://icons.atmosphere.africa/svg/payments/qr-code.svg" alt="QR code" width="160">import { illustrationUrl } from '@ba-icons/illustrations';
illustrationUrl('payments/qr-code');
// → https://icons.atmosphere.africa/svg/payments/qr-code.svgAs an <img> it draws in black. To give it the text colour, use it as a mask:
.mark {
background-color: currentColor;
mask: url('https://icons.atmosphere.africa/svg/payments/qr-code.svg') center / contain no-repeat;
}New to the packages? Point your project at the registry first.