<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Edukeasy </title>
    <description>The latest articles on DEV Community by Edukeasy  (@edukeasy).</description>
    <link>https://dev.to/edukeasy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F132791%2Ff881a265-25c0-4585-8b32-a03bc882a9a2.jpeg</url>
      <title>DEV Community: Edukeasy </title>
      <link>https://dev.to/edukeasy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/edukeasy"/>
    <language>en</language>
    <item>
      <title>Rendering Icons using SVG Sprites</title>
      <dc:creator>Edukeasy </dc:creator>
      <pubDate>Sun, 06 Aug 2023 18:58:26 +0000</pubDate>
      <link>https://dev.to/edukeasy/rendering-icons-using-svg-sprites-4kb1</link>
      <guid>https://dev.to/edukeasy/rendering-icons-using-svg-sprites-4kb1</guid>
      <description>&lt;p&gt;In an eco-design approach, we consider possible optimizations throughout our projects. A significant portion of applications now use icon renderings for a better user experience and design. However, their usage can negatively impact application performance and user experience.&lt;/p&gt;

&lt;p&gt;Using an SVG sprite instead of individual icons brings several benefits:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Performance Optimization: SVG sprites group multiple icons into a single image, reducing the number of HTTP requests and improving site or React application performance.&lt;br&gt;
Using inline SVG code will increase the size of your JS files and thus affect the display performance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Easy Management: SVG sprites simplify icon management by consolidating them into a single file. This streamlines updates and modifications since you only need to update the sprite, and all occurrences of the icons are automatically updated in your React application.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;And many more benefits (accessibility, animation, etc.).&lt;/p&gt;

&lt;p&gt;We provide a Node.js script to generate your SVG sprites and another script to generate icon renderings in a grid format in a PDF, allowing you to keep icon identifiers at hand.&lt;br&gt;
&lt;a href="https://github.com/code-dev-pro/SVG-Sprite-generator"&gt;Test our repo&lt;/a&gt;&lt;/p&gt;

</description>
      <category>svg</category>
      <category>react</category>
      <category>performance</category>
      <category>sprite</category>
    </item>
  </channel>
</rss>
