Skip to content

TheDahoom/headless-qr-webcomponent-slim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

headless-qr-webcomponent

A simple web component for QR code generation forked from ahmetozantekin's headless-qr-webcomponent and using Rich Harris's headless-qr

Usage

<head>
  <script defer src="/path/to/wc-headless-qr.js"></script>
</head>
  
<body>
  <headless-qr
    url="https://test.com"
    color="#717171"
    background="#f1f1f1"
    size="250px"
    output="svg"
  ></headless-qr>
</body>

Props

name type default
url string
background string #FFFFFF
color string #000000
size string 250px
output svg or html svg

Preview (Original, ahmetozantekin)

demo

About

A simple web component for QR code generation. forked from ahmetozantekin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.3%
  • HTML 29.6%
  • Svelte 22.4%
  • SCSS 4.7%