Feature Request / Tag SVG elements with lucide-specific classes
See original GitHub issueTagging SVG icon elements with lucide specific classes like
<svg class="lucide lucide-{icon-name}">…</svg>
would make much more easier to reference them from CSS stylesheets, in order for instance to:
- factor app-wide sizing / stroke properties
- tweak sizing / alignment for specific icons
P.S. Suggestion born from a real-world struggle in keeping icons aligned with button labels using fonts with an atypical baseline…
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:11 (11 by maintainers)
Top Results From Across the Web
class - SVG: Scalable Vector Graphics - MDN Web Docs
Assigns a class name or set of class names to an element. You may assign the same class name or names to any...
Read more >Document Structure — SVG 2
An SVG document fragment consists of any number of SVG elements contained within an 'svg' element. An SVG document fragment can range from...
Read more >No SVG tag for email templates - Adobe XD: Feature Requests
No SVG tag for email templates ... Currently Adobe Xd relies on the <svg> tag to create some elements. This is great, especially...
Read more >SVG Elements and Attributes - O'Reilly Design System
class #. A set of identifiers that describe custom features of this element, which it might share with other elements. Used in CSS...
Read more >HTML SVG Graphics - W3Schools
SVG stands for Scalable Vector Graphics; SVG is used to define graphics for the Web; SVG is a ... The HTML <svg> element...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @ericfennis
For a user new to yarn: following are complete instructions for testing a package from a monorepo.
WARNING: Apple silicon follow this guide first.
Outside your project
Inside your project
Note: After this you may experience a large number of linting errors. This is because the package is outside your app root. There are a number of ways to fix this. One way is to exclude lucide-vue from linting.
Oh sweet!