Font Awesome Icons [ Icons ] - CSS Bundle

<div readability="71.3074204947"> <h2 class="card-title mb-3">Font Awesome Icons</h2> <div class="additional white-space-pre-wrap mb-3" readability="61.487041719343"><p>I have been using this awesome font library for so long now that i almos overlooked it as being such a stable web developer resource for an amazing set of icons and easy to add to your project.</p> <p><img src="https://i.imgur.com/2PMG5pa.png"/></p> <h3>What is Font Awesome?</h3> <p>Its a library of SVG icons that you can add to your site with one include and then the use of the i tags, with a whole library of icons you can choose from. </p> <h3>Preview</h3> <p><img src="https://i.imgur.com/rDvkbGR.png"/><br/><small>a preview of Font Awesome Icons</small></p> <h3>How do i use Font Awesome.</h3> <ol> <li>Include this script tag in your site <code>&lt;head&gt;</code>:<br/><code>&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css" /&gt;</code></li> <li>Usually you can just go to cdnjs.com to grab the latest version of font awesome include.</li> <li>Pick the icon you want to display <a href="https://fontawesome.com/icons" target="blank" rel="noopener" style="color: inherit; text-decoration: none;" name="readabilityLink-1">from here</a>.<br/><img src="https://i.imgur.com/8K1IwBA.png"/><a href="#readabilityFootnoteLink-1" class="readability-DoNotFootnote" style="color: inherit;"><small><sup>[1]</sup></small></a></li> <li>Paste that code in your page <code>&lt;body&gt;</code>.</li> </ol> <p> </p> <h3>Should I use it?</h3> <p>They seem to be making the latest versions of it quite complicated to install with the creation of a kit, im not sure why this would be benificial, i think you maybe able to choose the icon sets that you want to use rather than just loading all icons by default. But just using the basic include seems to be quite good still.</p> <p>It still is probably better to just source your own SVG icons and include them manually even though this is a bit more work initially. </p> <h3>File Sizes for Font Awesome</h3> <p>It seems this library consumes a lot of resources.</p> <p>The Min css file alone is 101kb.</p> <table class="table table-striped" border="1"> <tbody> <tr> <td><strong>File</strong></td> <td><strong>Size</strong></td> </tr> <tr> <td>all.min.css</td> <td>101 kb</td> </tr> <tr> <td>fa-solid-900.woff2</td> <td>75 kb</td> </tr> <tr> <td>fa-regular-400.woff2</td> <td>14.3 kb</td> </tr> <tr> <td>fa-brands-400.woff2</td> <td>106 kb</td> </tr> <tr> <td> </td> <td><strong>296.3 kb</strong></td> </tr> </tbody> </table> <p>So the total additional added, even if just using one of the icons is almost 300kb (296.3kb) which seems like a lot for one icon.</p> <p>If you are using a large amount of the icons then this might be worth it, but it still does seem a bit of a waste of space considering the small size of the singular svg files. </p> <h3>Extract singular icons</h3> <p>Rather than including 300kb of scripts, you can just extract the icons you want to use from the open source repo here. </p> <p><a href="https://github.com/FortAwesome/Font-Awesome/tree/master/svgs" target="blank" rel="noopener" style="color: inherit; text-decoration: none;" name="readabilityLink-2">https://github.com/FortAwesome/Font-Awesome/tree/master/svgs</a><a href="#readabilityFootnoteLink-2" class="readability-DoNotFootnote" style="color: inherit;"><small><sup>[2]</sup></small></a></p> <p>Just browse through the icons here, or use the icons finder and then extract them using the same name. </p> <p>For our example icon, the souce of the SVG is only 500 bites. So its tiny. We include 300kb just for the convenience of ease in development, just to embed a 500 bite icon. </p> <p><a href="https://github.com/FortAwesome/Font-Awesome/blob/master/svgs/brands/css3-alt.svg" target="blank" rel="noopener" style="color: inherit; text-decoration: none;" name="readabilityLink-3">https://github.com/FortAwesome/Font-Awesome/blob/master/svgs/brands/css3-alt.svg</a><a href="#readabilityFootnoteLink-3" class="readability-DoNotFootnote" style="color: inherit;"><small><sup>[3]</sup></small></a> </p> <h4>HTML</h4> <pre><code class="html hljs xml">&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --&gt;&lt;path d="M0 32l34.9 395.8L192 480l157.1-52.2L384 32H0zm313.1 80l-4.8 47.3L193 208.6l-.3.1h111.5l-12.8 146.6-98.2 28.7-98.8-29.2-6.4-73.9h48.9l3.2 38.3 52.6 13.3 54.7-15.4 3.7-61.6-166.3-.5v-.1l-.2.1-3.6-46.3L193.1 162l6.5-2.7H76.7L70.9 112h242.2z"/&gt;&lt;/svg&gt;</code></pre> <h3>Conclusion</h3> <p>The amazing library of icons that Font Awesome has and the ease of installation makes using the icons very easy, I think that the size of the included css might be large. So even while making it easier to install it may increase the size of your project.</p> <h3>Original Source</h3> <p><a href="https://github.com/FortAwesome/Font-Awesome" target="blank" rel="noopener" style="color: inherit; text-decoration: none;" name="readabilityLink-4">Font Awesome on Github</a><a href="#readabilityFootnoteLink-4" class="readability-DoNotFootnote" style="color: inherit;"><small><sup>[4]</sup></small></a></p></div> <h3>Font Awesome Icons Demo</h3> <p> <a href="/bundle/font-awesome-icons/index.php" class="btn btn-primary" data-fancybox="iframe" data-src="/bundle/font-awesome-icons/index.php" data-type="iframe" id="iframecontent" style="color: inherit; text-decoration: none;" name="readabilityLink-5">View Demo Full Screen <i class="fas fa-external-link-alt"/></a><a href="#readabilityFootnoteLink-5" class="readability-DoNotFootnote" style="color: inherit;"><small><sup>[5]</sup></small></a> <a href="/bundle/font-awesome-icons/index.php" class="btn btn-primary" target="blank" style="color: inherit; text-decoration: none;" name="readabilityLink-6">View Demo New Tab <i class="fas fa-external-link-alt"/></a><a href="#readabilityFootnoteLink-6" class="readability-DoNotFootnote" style="color: inherit;"><small><sup>[6]</sup></small></a> </p> <h3 class="mb-3">Font Awesome Icons Code</h3> <h2 id="html">HTML</h2><pre><code class="html">&lt;h2&gt;Icon with 296kb of scripts&lt;/h2&gt; &lt;p&gt;This icon uses the full font awesome css and library to display it loading 296kb of scripts. &lt;/p&gt; &lt;i class="fa-brands fa-css3-alt fa-4x"&gt;&lt;/i&gt; &lt;h2&gt;Icon with no scripts&lt;/h2&gt; &lt;p&gt;This version of the same icon is only 500 bytes, a saving of 295.5kb!&lt;/p&gt; &lt;svg class="css-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --&gt;&lt;path d="M0 32l34.9 395.8L192 480l157.1-52.2L384 32H0zm313.1 80l-4.8 47.3L193 208.6l-.3.1h111.5l-12.8 146.6-98.2 28.7-98.8-29.2-6.4-73.9h48.9l3.2 38.3 52.6 13.3 54.7-15.4 3.7-61.6-166.3-.5v-.1l-.2.1-3.6-46.3L193.1 162l6.5-2.7H76.7L70.9 112h242.2z"/&gt;&lt;/svg&gt;</code></pre><h2 id="css">CSS</h2><pre><code class="css">.css-svg { height:100px; width:100px; fill:orange; }</code></pre><h2 id="scripts">Scripts</h2><pre><code class="html">&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css" /&gt;</code></pre> </div><div id="readability-footnotes"><h3>References</h3><ol id="readability-footnotes-list"><li><small><sup><a href="#readabilityLink-1" title="Jump to Link in Article">^</a></sup></small> <a href="https://fontawesome.com/icons" target="blank" rel="noopener" name="readabilityFootnoteLink-1">from here</a><small> (fontawesome.com)</small></li><li><small><sup><a href="#readabilityLink-2" title="Jump to Link in Article">^</a></sup></small> <a href="https://github.com/FortAwesome/Font-Awesome/tree/master/svgs" target="blank" rel="noopener" name="readabilityFootnoteLink-2">https://github.com/FortAwesome/Font-Awesome/tree/master/svgs</a><small> (github.com)</small></li><li><small><sup><a href="#readabilityLink-3" title="Jump to Link in Article">^</a></sup></small> <a href="https://github.com/FortAwesome/Font-Awesome/blob/master/svgs/brands/css3-alt.svg" target="blank" rel="noopener" name="readabilityFootnoteLink-3">https://github.com/FortAwesome/Font-Awesome/blob/master/svgs/brands/css3-alt.svg</a><small> (github.com)</small></li><li><small><sup><a href="#readabilityLink-4" title="Jump to Link in Article">^</a></sup></small> <a href="https://github.com/FortAwesome/Font-Awesome" target="blank" rel="noopener" name="readabilityFootnoteLink-4">Font Awesome on Github</a><small> (github.com)</small></li><li><small><sup><a href="#readabilityLink-5" title="Jump to Link in Article">^</a></sup></small> <a href="/bundle/font-awesome-icons/index.php" class="btn btn-primary" data-fancybox="iframe" data-src="/bundle/font-awesome-icons/index.php" data-type="iframe" id="iframecontent" name="readabilityFootnoteLink-5">View Demo Full Screen</a></li><li><small><sup><a href="#readabilityLink-6" title="Jump to Link in Article">^</a></sup></small> <a href="/bundle/font-awesome-icons/index.php" class="btn btn-primary" target="blank" name="readabilityFootnoteLink-6">View Demo New Tab</a></li></ol></div>

keywords icons, font, awesome, posted, 12:27, march, 2022, have, been, using, this, awesome, font, library, long, that, almos, overlooked, being, such, stable, developer, resource, amazing, icons, easy, your, project, what, site, with, include, then, tags, whole, choose, from, preview, preview, include, script, usually, just, cdnjscom, grab, latest, version, pick, icon, want, display, here, paste, code, page, should, they, seem, making, versions, quite, complicated, install, creation, sure, would, benificial, think, maybe, able, sets, rather, than, loading, default, basic, seems, good, still, probably, better, source, them, manually, even, though, more, work, initially, file, sizes, consumes, resources, file, alone, 101kb, size, allmincss, fasolid900woff2, faregular400woff2, fabrands400woff2, 2963, total, additional, added, almost, 300kb, 2963kb, which, like, large, amount, might, worth, does, waste, space, considering, small, size, singular, files, extract, rather, including, scripts, extract, open, repo, https://githubcom/fortawesome/fontawesome/tree/master/svgs, just, browse, through, finder, same, name, example, souce, only, bites, tiny, convenience, ease, development, embed, bite, https://githubcom/fortawesome/fontawesome/blob/master/svgs/brands/css3altsvg, html, conclusion, installation, makes, very, included, while, easier, increase, original, source, github, demo, view, full, screen, code, htmlicon, 296kb, this, uses, full, icon, bytes, saving, 2955kb, csscsssvg, height:100px, width:100px, fill:orange, scripts, external, link, related, tags, free, items, found, comment, nick, name, type, other, categories, pages, animation, animations, background, effects, boxes, buttons, javascript, reset, content, slider, cookie, alerts, design, image, zoom, lightbox, link, modals, mouse, navigation, notifications, parallax, profiles, backgrounds, bootstrap, animated, framework, footers, forms, html, images, scroll, show, text, timeline, animation, animate, stuff, animatecss, animations, check, wave, click, checkbox, watch, cloudy, spiral, css3, notifications, toast, messages, standalone, library, jquery, notifyjs,

No Items Found.

Add Comment
Type in a Nick Name here
 
Other Items in webdev
Hugo Font Awesome Icons [ Icons ] - CSS Bundle Daily Dev Tips CSS Background Patterns by MagicPattern GitHub - ganlanyuan/tiny-slider: Vanilla javascript slider for all purposes. GitHub - jonasstrehle/supercookie: ⚠️ Browser fingerprinting via favicon! URL-encoder for SVG Bootstrap Icons · Official open source SVG icon library for Bootstrap GitHub - kognise/water.css: A drop-in collection of CSS styles to make simple websites just a little nicer Toggle light and dark themes in Bootstrap - DEV Deploy your Publish website for free on GitHub Pages - DEV Bootstrap · The most popular HTML, CSS, and JS library in the world. GitHub - diegocard/awesome-html5: A curated list of awesome HTML5 resources Fixing PHP SQLite database is locked warning - Unable to execute statement: database is locked [ php ] - KruXoR openstreetmap.org 50 Developer tools to make your life a little easier https://www.mrlacey.com/2020/07/youve-only-added-two-lines-why-did-that.html?m=1 GitHub - ForEvolve/bootstrap-dark: Bootstrap 4 dark theme that supports togging dark/light themes as well. There is no fluff, it changes the color of Bootstrap and that's it, no new thing to learn or unlearn, just Bootstrap, but Dark! Responsive Web Design Online Testing - isResponsive Trianglify.io · Low Poly Pattern Generator Grid.js - Advanced table plugin HEAD - A free guide to <head> elements Roots | Modern WordPress Development Tools A Local Dev Tool For Every Project | Lando new.css Synchronized responsive testing, development, inspection | Vanamco Gold Price Charts Widgets | GoldBroker.com Trianglify.io · Low Poly Pattern Generator Special tags that Google understands - Search Console Help 404 Error Page Codepen ScrollMagic ♥ Demo AOS - Animate on scroll library Font Awesome v4.7.0 - Icon Search Tool Carbon Offers — LowEndTalk Featherlight – The ultra slim jQuery lightbox. Tailwind CSS - A Utility-First CSS Framework for Rapidly Building Custom Designs HEAD - A free guide to <head> elements API Blueprint | API Blueprint Filtering Data Client-Side: Comparing CSS, jQuery, and React | CSS-Tricks CSS Quickies: CSS Variables - Or how you create a 🌞white/🌑dark theme easily - DEV Community 👩‍💻👨‍💻 Responsive Slider Timeline Colormind - the AI powered color palette generator Get Waves – Create SVG waves for your next design Nuxt.js - The Vue.js Framework CodeSandbox: Online Code Editor Tailored for Web Application Development Hover.css - A collection of CSS3 powered hover effects Live.js - One script closer to Designing in the Browser Color this sofa! – SVG + Blend Mode trick You Might Not Need jQuery
Search Linx
Search Linx by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

You could also follow me on twitter. I have a couple of youtube channels if you want to see some video related content. RuneScape 3, Minecraft and also a coding channel here Web Dev.

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
All of humanity's problems stem from man's inability to sit quietly in a room alone, wrote Blaise Pascal.
Unknown
Latest News
## 🚀 AI Giants Hit Bullseye: Anthropic & OpenAI Achieve Product-Market Fit Anthropic and OpenAI have reached a significant milestone, finding product-market fit with their AI technologies, which means their products effectively meet the needs of their customers, driving growth and adoption. This achievement showcases the practical value of their innovations, enabling businesses and individuals to leverage AI for enhanced productivity and efficiency. With this alignment of product and market needs, these companies are poised to transform industries and shape the future of technology.