Skip to content

qr-code

barcode • scan • link • url • information • digital

Created:

v0.12.0

Last changed:

v0.133.0

Contributors:

ericfenniscsandmankarsa-mistmere
js
import { createIcons, icons } from 'lucide';

createIcons({ icons });

document.body.append('<i data-lucide="qr-code"></i>');  
tsx
import { QrCode } from 'lucide-react';

const App = () => {
  return (
    <QrCode />
  );
};

export default App;
vue
<script setup>
import { QrCode } from 'lucide-vue-next';
</script>

<template>
  <QrCode />
</template>
svelte
<script>
import { QrCode } from 'lucide-svelte';
</script>

<QrCode />
tsx
import { QrCode } from 'lucide-preact';

const App = () => {
  return (
    <QrCode />
  );
};

export default App;
tsx
import { QrCode } from 'lucide-solid';

const App = () => {
  return (
    <QrCode />
  );
};

export default App;
tsx
// app.module.ts
import { LucideAngularModule, QrCode } from 'lucide-angular';

@NgModule({
  imports: [
    LucideAngularModule.pick({ QrCode })
  ],
})

// app.component.html
<lucide-icon name="qr-code"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>

<div class="icon-qr-code"></div>