<?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: Roman Riaboshtan</title>
    <description>The latest articles on DEV Community by Roman Riaboshtan (@roman_riaboshtan).</description>
    <link>https://dev.to/roman_riaboshtan</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4027945%2Fd38536ea-5c82-4416-b5bf-d93ce50357c0.png</url>
      <title>DEV Community: Roman Riaboshtan</title>
      <link>https://dev.to/roman_riaboshtan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/roman_riaboshtan"/>
    <language>en</language>
    <item>
      <title>Your Figma icons are lying to you: currentColor, dark mode, and React SVG</title>
      <dc:creator>Roman Riaboshtan</dc:creator>
      <pubDate>Fri, 07 Aug 2026 23:48:23 +0000</pubDate>
      <link>https://dev.to/roman_riaboshtan/your-figma-icons-are-lying-to-you-currentcolor-dark-ui-and-react-svg-27b8</link>
      <guid>https://dev.to/roman_riaboshtan/your-figma-icons-are-lying-to-you-currentcolor-dark-ui-and-react-svg-27b8</guid>
      <description>&lt;p&gt;You know the pattern: the app ships on a light theme, icons look fine, nobody thinks about tokens. Later someone flips the UI to dark — black background, same icons — and half the toolbar vanishes. Not because CSS “broke.” Because the SVG still has &lt;code&gt;fill="#000000"&lt;/code&gt; (or a hard-coded grey), and you never wired color through a variable / &lt;code&gt;currentColor&lt;/code&gt; in the first place.&lt;/p&gt;

&lt;p&gt;Easy to run into on a real project: theming arrives later, the icon keeps a fixed paint value, the theme flips, and the icon disappears on the new background.&lt;/p&gt;

&lt;p&gt;This is not a “use a better icon pack” problem. It is a &lt;strong&gt;contract&lt;/strong&gt; problem: the SVG was authored as &lt;strong&gt;paint on a canvas&lt;/strong&gt;, but your app needs a &lt;strong&gt;glyph that inherits color&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is a solid mental model for icon reviews — and for converting SVG → React in the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  The lie in the export
&lt;/h2&gt;

&lt;p&gt;Most design tools give you something like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"&amp;gt;
  &amp;lt;path fill="#000000" d="M12 2L2 7l10 5 10-5-10-5z"/&amp;gt;
  &amp;lt;path fill="#000000" d="M2 17l10 5 10-5M2 12l10 5 10-5"/&amp;gt;
&amp;lt;/svg&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;#000&lt;/code&gt; is not “default.” It is a &lt;strong&gt;hard theme choice&lt;/strong&gt;. Same trap with &lt;code&gt;#111&lt;/code&gt;, &lt;code&gt;#1A1A1A&lt;/code&gt;, &lt;code&gt;black&lt;/code&gt;, or “almost black” greys from auto-export. Search the file for those before you merge.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three contracts for an icon
&lt;/h2&gt;

&lt;p&gt;Pick one. Mixing them is how icon systems rot.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Paint&lt;/strong&gt; — fixed colors in the file. Use for illustrations and logos with real brand hues.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Glyph&lt;/strong&gt; — shape only; color from CSS / props. Use for UI chrome (nav, buttons, inputs).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bitmap handoff&lt;/strong&gt; — PNG/WebP for email, decks, or a CMS that rejects SVG.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;UI chrome should almost always be a &lt;strong&gt;glyph&lt;/strong&gt;. That is what &lt;code&gt;currentColor&lt;/code&gt; is for.&lt;/p&gt;

&lt;h2&gt;
  
  
  The React shape that actually works
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;SVGProps&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;react&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;LayersIcon&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="nx"&gt;className&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;
&lt;span class="p"&gt;}:&lt;/span&gt; &lt;span class="nx"&gt;SVGProps&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;SVGSVGElement&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;svg&lt;/span&gt;
      &lt;span class="na"&gt;viewBox&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"0 0 24 24"&lt;/span&gt;
      &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;24&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;24&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="na"&gt;fill&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"none"&lt;/span&gt;
      &lt;span class="na"&gt;aria-hidden&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"true"&lt;/span&gt;
      &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;className&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;path&lt;/span&gt;
        &lt;span class="na"&gt;d&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"&lt;/span&gt;
        &lt;span class="na"&gt;stroke&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"currentColor"&lt;/span&gt;
        &lt;span class="na"&gt;strokeWidth&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mf"&gt;1.5&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
        &lt;span class="na"&gt;strokeLinejoin&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"round"&lt;/span&gt;
      &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;svg&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why this shape:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;currentColor&lt;/code&gt;&lt;/strong&gt; — fill/stroke follow &lt;code&gt;color&lt;/code&gt; / Tailwind text classes. One source of truth with the theme.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;{...props}&lt;/code&gt; on the root&lt;/strong&gt; — callers own &lt;code&gt;className&lt;/code&gt;, size, tests, and a11y overrides without editing the file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;viewBox&lt;/code&gt; kept&lt;/strong&gt; — width/height become layout knobs, not geometry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;aria-hidden&lt;/code&gt; by default&lt;/strong&gt; — decorative; the &lt;strong&gt;button&lt;/strong&gt; (or link) gets the accessible name.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;button&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"button"&lt;/span&gt; &lt;span class="na"&gt;aria-label&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"Layers"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;LayersIcon&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text-sky-300"&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;button&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If Figma left a &lt;code&gt;&amp;lt;title&amp;gt;&lt;/code&gt; inside the SVG, remove it when the control already has a name — otherwise screen readers announce twice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stroke vs fill trap:&lt;/strong&gt; some Figma exports use &lt;code&gt;fill&lt;/code&gt;, some use &lt;code&gt;stroke&lt;/code&gt;, some mix both. Put &lt;code&gt;currentColor&lt;/code&gt; on the attribute that actually paints. Leaving &lt;code&gt;fill="#000"&lt;/code&gt; on a “stroke icon” is a classic silent miss in review.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dark mode is a color problem, not a file problem
&lt;/h2&gt;

&lt;p&gt;Wrong fix: ship &lt;code&gt;icon-dark.svg&lt;/code&gt; and &lt;code&gt;icon-light.svg&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
Right fix: one glyph, theme via CSS.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;nav&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text-slate-700 dark:text-slate-200"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;LayersIcon&lt;/span&gt; &lt;span class="na"&gt;className&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"h-5 w-5"&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;nav&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Multi-color product marks (logo with two brand hues) are &lt;strong&gt;paint&lt;/strong&gt;, not glyphs. Do not force those through &lt;code&gt;currentColor&lt;/code&gt;. Keep them as static SVG / &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt;, or pass explicit props (&lt;code&gt;accent&lt;/code&gt;, &lt;code&gt;muted&lt;/code&gt;) if you truly need theming.&lt;/p&gt;

&lt;h2&gt;
  
  
  React Native: same idea, different host
&lt;/h2&gt;

&lt;p&gt;React Native does not render HTML SVG. You want &lt;code&gt;react-native-svg&lt;/code&gt;, and &lt;strong&gt;numbers&lt;/strong&gt;, not strings:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;Svg&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;Path&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;react-native-svg&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;LayersIcon&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Svg&lt;/span&gt; &lt;span class="na"&gt;viewBox&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"0 0 24 24"&lt;/span&gt; &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;24&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt; &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;24&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt; &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Path&lt;/span&gt;
        &lt;span class="na"&gt;d&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"M12 2L2 7l10 5 10-5-10-5z"&lt;/span&gt;
        &lt;span class="na"&gt;stroke&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"currentColor"&lt;/span&gt;
        &lt;span class="na"&gt;strokeWidth&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mf"&gt;1.5&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;Svg&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;width="24"&lt;/code&gt; vs &lt;code&gt;width={24}&lt;/code&gt; is a classic RN footgun. Hand ports often forget one prop and fail in weird, quiet ways. If you generate JSX, emit numbers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Paste-JSX vs SVGR — pick by volume, not ideology
&lt;/h2&gt;

&lt;p&gt;Neither is “more professional.”&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SVGR (or similar) in the bundler&lt;/strong&gt; — dozens of &lt;code&gt;.svg&lt;/code&gt; files land in the repo every week.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Paste JSX&lt;/strong&gt; — one-off icon, design handoff, shareable preview, or you also need React Native output without wiring a pipeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; / static asset&lt;/strong&gt; — huge illustration that never recolors. Do not componentize it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Paste-JSX wins when you do not want to touch Vite / webpack / Next config for a single mark. You can do that in &lt;a href="https://getsvgeditor.com/svg-to-react" rel="noopener noreferrer"&gt;SVGEditor&lt;/a&gt;: paste SVG, get React / RN JSX in the browser. SVGR wins when icons are a pipeline.&lt;/p&gt;

&lt;p&gt;Before you trust any converter output, check three things yourself:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;kebab-case → JSX (&lt;code&gt;stroke-width&lt;/code&gt; → &lt;code&gt;strokeWidth&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;{...props}&lt;/code&gt; on the root &lt;code&gt;&amp;lt;svg&amp;gt;&lt;/code&gt; / &lt;code&gt;&amp;lt;Svg&amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;gradient / clip &lt;code&gt;id&lt;/code&gt;s unique per file (two icons with &lt;code&gt;id="paint0"&lt;/code&gt; on one page will fight)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Do &lt;strong&gt;not&lt;/strong&gt; expect a converter to invent &lt;code&gt;currentColor&lt;/code&gt; for you or uniquify every Figma &lt;code&gt;id&lt;/code&gt; across your whole set. That is still your review.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bundle cost (the part people skip)
&lt;/h2&gt;

&lt;p&gt;A React icon is &lt;strong&gt;JavaScript in your bundle&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;40 toolbar icons as components → usually fine
&lt;/li&gt;
&lt;li&gt;one 200KB illustration inlined as JSX → you paid a tax for nothing
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Rule of thumb:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Chrome&lt;/strong&gt; → component + &lt;code&gt;currentColor&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Marketing / email / CMS&lt;/strong&gt; → PNG or static SVG when the destination cannot theme
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;next/image&lt;/code&gt; is the wrong hammer for interactive icons. It will not give you prop-driven stroke/fill the way an inline component does.&lt;/p&gt;

&lt;h2&gt;
  
  
  Next.js App Router
&lt;/h2&gt;

&lt;p&gt;Icon components &lt;strong&gt;without hooks&lt;/strong&gt; are valid Server Components — they are just JSX. Colocate named files under &lt;code&gt;components/icons/&lt;/code&gt; so unused icons tree-shake. Avoid a mega &lt;code&gt;icons.tsx&lt;/code&gt; barrel that re-exports the world and drags everything into the graph.&lt;/p&gt;

&lt;h2&gt;
  
  
  A 60-second checklist before you merge an icon
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Grep for &lt;code&gt;#000&lt;/code&gt; / &lt;code&gt;#fff&lt;/code&gt; / &lt;code&gt;black&lt;/code&gt; / &lt;code&gt;white&lt;/code&gt; that should be themeable → &lt;code&gt;currentColor&lt;/code&gt; (or props)
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;currentColor&lt;/code&gt; is on the paint that actually renders (&lt;code&gt;fill&lt;/code&gt; and/or &lt;code&gt;stroke&lt;/code&gt;)
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;viewBox&lt;/code&gt; present
&lt;/li&gt;
&lt;li&gt;Root spreads &lt;code&gt;{...props}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Decorative → &lt;code&gt;aria-hidden&lt;/code&gt;; meaningful → name the control
&lt;/li&gt;
&lt;li&gt;Gradient / clip &lt;code&gt;id&lt;/code&gt;s unique per file
&lt;/li&gt;
&lt;li&gt;RN path uses numeric props
&lt;/li&gt;
&lt;li&gt;Full illustration → static asset, not a component&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you have a sharper rule for icon reviews, drop it in the comments.👇&lt;/p&gt;

</description>
      <category>react</category>
      <category>svg</category>
      <category>typescript</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
