question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request for svg sprite which can be used with <use xlink:href

See original GitHub issue

Hi devs, is it possible to create an svg file as part of release in format -

<svg xmlns="http://www.w3.org/2000/svg">
  <defs>
    <symbol id="activity" viewBox="0 0 24 24">
      <polyline points="22 12 18 12 15 21 9 3 6 12 2 12" />
    </symbol>
   ...
  </defs>
</svg>

This will allow adding an icon similar to this feather request - https://github.com/feathericons/feather/pull/319

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ericfenniscommented, Jan 28, 2022

@boscharun Welcome to the Lucide Project! Yess we have an SVG sprite available, but it is included in the Lucide Static package. https://www.jsdelivr.com/package/npm/lucide-static

0reactions
ericfenniscommented, Feb 1, 2022

Added it to the Readme file!

Read more comments on GitHub >

github_iconTop Results From Across the Web

SVG sprite in external file - Stack Overflow
Try this: Create an SVG file, sprites.svg. Place the following in it: <svg version="1.1" xmlns="http://www.w3.org/2000/svg" ...
Read more >
How to Use SVG Image Sprites - SitePoint
This tutorial describes two ways to create sprites containing many images. However, it uses SVG rather than the more well-known bitmap ...
Read more >
SVG `use` with External Reference, Take 2 - CSS-Tricks
SVG has a element which essentially means: go find the chunk of SVG that has this #identifier and kinda clone it and put...
Read more >
SVG Sprites: Embed flexible, stylable, fast-loading SVG icons
SVG Sprites : A straightforward guide to embedding flexible, stylable, fast-loading SVG icons in your web application.
Read more >
How to use SVG sprites - Frontend Blog - Glivera Team
Hi, developer! When making a layout from PSD, icons are often inserted in SVG format, and if not, we ask them from the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found