Feature Request: Add configurable module spacing/gap support for all QR styles (circle, rounded, vertical lines, etc.) #532
Unanswered
pparmar000
asked this question in
Q&A
Replies: 1 comment
-
|
@pparmar000 Thanks for the suggestions, I added new |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
First of all, thanks for this awesome QR code package.
I would like to request a feature to support spacing/gap between QR modules (small squares/dots). Currently the modules are rendered without any spacing, but having configurable gaps would help create more modern and stylish QR designs.
Example idea:
Add a prop like moduleGap or gap
Allow values in px or percentage
Should work with square, circle, rounded, vertical lines, etc. styles
Currently, the modules are merging together when using these styles, especially for circle and line-based patterns. Because of this, the final QR loses the separated/stylish appearance.
It would be great to have a prop like: moduleGap={2} or gap={2}
Example usage:
This would help maintain visible spacing between modules and improve QR styling/customization.
Attached image for reference - currently the data modules are merging together.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions