{"id":47453582,"url":"https://gfazioli.github.io/mantine-qr-code/","last_synced_at":"2026-04-07T02:01:17.799Z","repository":{"id":348969363,"uuid":"1181066640","full_name":"gfazioli/mantine-qr-code","owner":"gfazioli","description":"A Mantine 9 QR Code component for React with custom dot/finder shapes, image overlay, SVG/PNG download hook, and full Styles API.","archived":false,"fork":false,"pushed_at":"2026-04-03T15:15:40.000Z","size":9465,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-04T14:10:33.806Z","etag":null,"topics":["download","extension","mantine","mantine-extension","mantine-ui","mantine-v9","nextjs","qr-code","qr-code-generator","qrcode","react","react-component","svg","typescript"],"latest_commit_sha":null,"homepage":"https://gfazioli.github.io/mantine-qr-code/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gfazioli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["gfazioli"]}},"created_at":"2026-03-13T18:00:12.000Z","updated_at":"2026-04-03T15:14:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gfazioli/mantine-qr-code","commit_stats":null,"previous_names":["gfazioli/mantine-qr-code"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gfazioli/mantine-qr-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-qr-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-qr-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-qr-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-qr-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfazioli","download_url":"https://codeload.github.com/gfazioli/mantine-qr-code/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-qr-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31496769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"online","status_checked_at":"2026-04-07T02:00:07.164Z","response_time":105,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["download","extension","mantine","mantine-extension","mantine-ui","mantine-v9","nextjs","qr-code","qr-code-generator","qrcode","react","react-component","svg","typescript"],"created_at":"2026-03-23T18:00:30.784Z","updated_at":"2026-04-07T02:01:17.793Z","avatar_url":"https://github.com/gfazioli.png","language":"TypeScript","funding_links":["https://github.com/sponsors/gfazioli","https://github.com/sponsors/gfazioli?o=esc"],"categories":["Libraries"],"sub_categories":[],"readme":"# Mantine QR Code Component\n\n\u003cimg alt=\"Mantine QR Code\" src=\"https://github.com/gfazioli/mantine-qr-code/blob/master/logo.jpeg\" /\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  [![NPM version](https://img.shields.io/npm/v/%40gfazioli%2Fmantine-qr-code?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-qr-code)\n  [![NPM Downloads](https://img.shields.io/npm/dm/%40gfazioli%2Fmantine-qr-code?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-qr-code)\n  [![NPM Downloads](https://img.shields.io/npm/dy/%40gfazioli%2Fmantine-qr-code?style=for-the-badge\u0026label=%20\u0026color=f90)](https://www.npmjs.com/package/@gfazioli/mantine-qr-code)\n  ![NPM License](https://img.shields.io/npm/l/%40gfazioli%2Fmantine-qr-code?style=for-the-badge)\n\n---\n\n[\u003ckbd\u003e \u003cbr/\u003e ❤️ If this component has been useful to you or your team, please consider becoming a sponsor \u003cbr/\u003e \u003c/kbd\u003e](https://github.com/sponsors/gfazioli?o=esc)\n\n\u003c/div\u003e\n\n## Overview\n\nThis component is created on top of the [Mantine](https://mantine.dev/) library.\nIt requires **Mantine 9.x** and **React 19**.\n\nThe [Mantine QR Code](https://gfazioli.github.io/mantine-qr-code/) component is a highly customizable QR Code generator for React applications built with Mantine.\n\n## Features\n\n- 🎨 **Theme Integration**: Full Mantine theme support with all theme colors for foreground and background\n- 📐 **Flexible Sizing**: Supports all Mantine sizes (xs–xl) plus custom values\n- 🔵 **Dot Styles**: Three data module styles — `square`, `rounded`, `dots`\n- 🔲 **Corner Styles**: Three finder pattern styles — `square`, `rounded`, `dots`\n- 🖼️ **Image Overlay**: Add a logo or image at the center with automatic module excavation\n- 🛡️ **Error Correction**: Four levels — L (7%), M (15%), Q (25%), H (30%)\n- 📥 **Download Hook**: `useQRCodeDownload` hook to export as SVG, PNG, JPEG, or WebP\n- 🎨 **Styles API**: Full Mantine Styles API with 8 style selectors (`root`, `svg`, `background`, `modules`, `finderPattern`, `finderOuter`, `finderInner`, `image`)\n- 📦 **TypeScript**: Full type safety out of the box\n- ⚡ **SSR Compatible**: Works with Next.js server-side rendering\n\n\u003e [!note]\n\u003e\n\u003e → [Demo and Documentation](https://gfazioli.github.io/mantine-qr-code/) → [Youtube Video](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4) → [More Mantine Components](https://mantine-extensions.vercel.app/)\n\n## Installation\n\n```sh\nnpm install @gfazioli/mantine-qr-code\n```\nor\n\n```sh\nyarn add @gfazioli/mantine-qr-code\n```\n\nAfter installation import package styles at the root of your application:\n\n```tsx\nimport '@gfazioli/mantine-qr-code/styles.css';\n```\n\n## Usage\n\n```tsx\nimport { QRCode } from '@gfazioli/mantine-qr-code';\n\nfunction Demo() {\n  return \u003cQRCode value=\"https://mantine.dev\" /\u003e;\n}\n```\n\n### Custom styles\n\n```tsx\n\u003cQRCode\n  value=\"https://mantine.dev\"\n  size=\"xl\"\n  color=\"blue\"\n  dotStyle=\"rounded\"\n  cornerStyle=\"rounded\"\n/\u003e\n```\n\n### Image overlay\n\n```tsx\n\u003cQRCode\n  value=\"https://mantine.dev\"\n  size=\"xl\"\n  image=\"https://example.com/logo.png\"\n  errorCorrectionLevel=\"H\"\n  imageRadius=\"md\"\n/\u003e\n```\n\n### Download as SVG/PNG\n\n```tsx\nimport { QRCode, useQRCodeDownload } from '@gfazioli/mantine-qr-code';\n\nfunction Demo() {\n  const { ref, download } = useQRCodeDownload({ fileName: 'my-qr-code' });\n\n  return (\n    \u003c\u003e\n      \u003cQRCode ref={ref} value=\"https://mantine.dev\" /\u003e\n      \u003cbutton onClick={() =\u003e download({ format: 'png' })}\u003eDownload PNG\u003c/button\u003e\n      \u003cbutton onClick={() =\u003e download({ format: 'svg' })}\u003eDownload SVG\u003c/button\u003e\n    \u003c/\u003e\n  );\n}\n```\n\n## Sponsor\n\n\u003cdiv align=\"center\"\u003e\n\n[\u003ckbd\u003e \u003cbr/\u003e ❤️ If this component has been useful to you or your team, please consider becoming a sponsor \u003cbr/\u003e \u003c/kbd\u003e](https://github.com/sponsors/gfazioli?o=esc)\n\n\u003c/div\u003e\n\nYour support helps me:\n\n- Keep the project actively maintained with timely bug fixes and security updates\n- Add new features, improve performance, and refine the developer experience\n- Expand test coverage and documentation for smoother adoption\n- Ensure long‑term sustainability without relying on ad hoc free time\n- Prioritize community requests and roadmap items that matter most\n\nOpen source thrives when those who benefit can give back—even a small monthly contribution makes a real difference. Sponsorships help cover maintenance time, infrastructure, and the countless invisible tasks that keep a project healthy.\n\nYour help truly matters.\n\n💚 [Become a sponsor](https://github.com/sponsors/gfazioli?o=esc) today and help me keep this project reliable, up‑to‑date, and growing for everyone.\n\n---\n\n[![Star History Chart](https://api.star-history.com/svg?repos=gfazioli/mantine-qr-code\u0026type=Timeline)](https://www.star-history.com/#gfazioli/mantine-qr-code\u0026Timeline)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gfazioli.github.io%2Fmantine-qr-code%2F","html_url":"https://awesome.ecosyste.ms/projects/gfazioli.github.io%2Fmantine-qr-code%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gfazioli.github.io%2Fmantine-qr-code%2F/lists"}