#323: SVG Freebies, Techniques and Tools

With grainy SVG gradients, SVG flags, animated credit cards and SVG generators. Issue #323 October 19, 2021 View in the browser 💨

Smashing Newsletter

Olá Smashing Friends,

I vividly remember the time when SVG was just coming to the web. It seemed almost magical that you could just look into the source code and adjust the image file on spot (well, perhaps first visualizing how it’s drawn). We can animate and style paths individually, and change parts of an image on focus/tap, and use all kinds of SVG filters, and even use raster graphics inside of SVG to improve performance.

The magical times we are living in! And today, we’d like to celebrate just that. In this issue, you’ll find plenty of little SVG helpers — from SVG flags and grainy SVG gradients to SVG favicon maker and even animated SVG credit cards. We hope you’ll find them useful in your work.

A Smashing Hour with Sara Soueidan
Quite a Smashing Hour, and you are invited! Join in: Smashing Hour with Sara Soueidan, Tue, Nov 9, 5PM CET / 8AM Pacific.

Speaking of SVG, join us for an hour with Sara Soueidan to discuss topics ranging from front-end performance and accessibility to birds and cats and pizza — with everything else in between. Free for everyone, of course — so please invite your friends and colleagues to join in, and don’t be late!

Also, if you’ve ever wanted to dive deep into all the facets of front-end and UX, we’ve just announced a few new online workshops, e.g. on Dynamic CSS with Lea Verou and Design Management Masterclass with Yury Vetrov. These are the workshops worth attending! We sincerely hope to see you there.

In the meantime, let’s dive into the magical world of SVG!

— Vitaly (@smashingmag)


1. Download SVGs With A Single Click

What if you want to quickly copy-paste an SVG file form a site without having to set up an entire dev environment to just try things out? Or perhaps you’d love to see the intrinsic size of the SVGs, or at least its aspect ratio? Well, there is no need to manually search for the icon and copy-paste it to start exploring it.

Download SVGs With A Single Click

SVG Gobbler is a handy browser extension that hunts down the SVG content in your current tab, highlights unique attributes about it and gives you the option to download or copy to clipboard. You can download all SVGs at once, or individually. The browser extension is open source and available as a Chrome extension and a Firefox extension. Built by Ross Moody. (vf)


2. Grainy SVG Gradients

What if you wanted to add some noise to bring a bit of texture to an image? Of course you could export images as PNGs, WebP or AVIFs, but ideally we’d want to add “noise” on top of SVGs, so we can always turn and off noise if we wanted to.

Grainy SVG Gradients

In his CSS-Tricks article on grainy gradients, Jimmy Chion explains how we can generate colorful noise to add texture to a gradient with just a sparkle of CSS and SVG. As Jimmy explains, the idea is to use an SVG filter to create the noise, then apply that noise as a background. Then we layer it underneath a gradient, refine the brightness and contrast, and voilà, you have gradient that gradually dithers away.

Issue solved! You can also explore the Grainy Gradient playground that Jimmy has set up. (vf)


From our sponsor

Build In-Demand Skills In Northwestern’s Online MS In Information Design And Strategy

Work at the Intersection of Data, Design and Technology. Earn your master’s degree online at Northwestern Information Design and Strategy.
Earn your master’s degree online.


3. Upcoming Front-End & UX Workshops

You might have heard it: we run online workshops around front-end and design, be it accessibility, performance, navigation, or landing pages. In fact, we have a couple of workshops coming up soon, and we thought that, you know, you might want to join in as well.

Smashing Online Events
Front-end and design can sometimes feel like you’re riding some pretty wild waves! We’ve got your back with personal and inclusive events.

As always, here’s an overview of our upcoming workshops:


4. SVG Blob Generator With A Twist

There is no shortage in SVG generators out there. They can generate anything from repeating patterns and waves to doodles and geometric shapes with a click on a button. Ssshape, however, is slightly different. The tool allows you to customize the output by drawing a custom shape in a box, and then generates the output based on that. Once you have your custom shape, you can fill it with colors and gradients, adjust it and rotate it. Or just use other custom shapes created by someone else.

SVG Blob Generator With A Twist

A while back, we collected a quite comprehensive guide to SVG generators, breaking all tools in sections and groups. We keep updating the guide, adding evem more generators regularly. And if you know of one that is missing there, please let us know on Twitter (@smashingmag), and we’ll add it right away. Happy SVG generating! (vf)


5. SVG Flag Icons

If you ever needed to add and maintain flags on your website, finding the right ones, in the right style and in the right size might be quite a headache. Luckily, you can rely on a few open-source sets that will probably have all your needs covered.

SVG Flag Icons

Flagpack, for example, includes more than 250 open-source SVG flag icons — from Andorra to Zimbabwe. The set provides options for small, medium and large-sized icons, and they come with several predefined styles. Designers can use the Flagpack in Figma and Sketch (Adobe XD coming soon), and developers can install it directly within their code project (React, Vue, and Svelte are supported). You can find all icons on GitHub, too.

Alternatively, flag-icons also provides a large collection of all country flags in SVG — but also with the CSS for easy integration. The entire repo is also available on GitHub.(vf)


6. Animated SVG Debit Card Illustrations

What if you could animate a debit card design? Probably not on an actual physical card, but rather for a landing page where you’d like to drive interest towards the card’s design or features? Well that’s an unusual challenge to tackle, and Tom Miller decided to take it on.

SVG Debit Card Illustrations

In a series of SVG debit card animations, Tom uses GreenSock to animate SVG paths and shapes smoothly, so every card literally comes to life on its own, transforming, rotating and scaling beautifully, alongside just a few lines of JavaScript. A wonderful inspiration for your next landing page design! (vf)


From our sponsor

What If We Told You There Is A Better Way To Find/Fix Code?

Sourcegraph
We’re constantly indexing every open-source repository with more than 1 star. While you were reading this, we indexed more (2 million+ counting). Whether you’re the one (or not), you can explore the open-code universe in milliseconds — dream big, bend code, or stop bullets. This is your code wonderland.


7. Create A Favicon In Seconds

Creating a simple, letter-based favicon usually takes up more time than it should. Hossein Sham knows this from experience, so to ease his life — and yours too — he built a free Favicon Maker that makes creating a favicon a matter of seconds.

Free Favicon Maker

The Favicon Maker helps you make letter- and emoji-based favicons, either as SVG or PNG, depending on your preference. You can select a letter or emoji, a font (Google Fonts are supported), font size, bold or italic variant, as well as the color and shape of the background. Once you’re happy with the result, you can either copy the code directly into your project or download the SVG or PNG file. A small but powerful tool. (cm)


8. Recent Smashing Articles


That’s All, Folks!

Thank you so much for reading and for your support in helping us keep the web dev and design community strong with our newsletter. See you next time!


This newsletter issue was written and edited by Cosima Mielke (cm), Vitaly Friedman (vf) and Iris Lješnjanin (il).


Sent to truly smashing readers via Mailchimp.
We sincerely appreciate your kind support. You
rock.

Follow us on Twitter Join us on Facebook

unsubscribe update preferences view in your browser

Older messages

#322: Front-End Guides, UX, Regex and Docker

Tuesday, October 12, 2021

With guides to Docker, API design, high performance browser networking, design management and good ol' frontend. Issue #322 • October 12, 2021 • View in the browser 💨 Smashing Newsletter Ahoy

#321: Little Front-End Helpers and Resources

Tuesday, October 5, 2021

With useful little helpers and resources for front-end developers. Issue #321 • October 5, 2021 • View in the browser 💨 Smashing Newsletter Ahoy Smashing Friends, What are some of the most useful

New Front-End & UX Workshops on Accessibility, Design Systems and UX 🍂🥮

Monday, October 4, 2021

Live workshops on design CSS, accessibility, design patterns, design systems, psychology and Next.js. A bunch of new online workshops on front-end & design. • View in the browser 💨 SmashingConf

#320: New CSS Techniques

Tuesday, September 28, 2021

Richer, life-like CSS shadows to better form outlines, responsive background images, clip-path and multi-line background gradients. Issue #320 • September 28, 2021 • View in the browser 💨 Smashing

#319: Microcopy and UX Writing

Tuesday, September 21, 2021

Better microcopy for inclusive, accessible products, tooling to write and maintain and microcopy, and a bit of copy inspiration. Issue #319 • September 21, 2021 • View in the browser 💨 Smashing

You Might Also Like

🐺If they can get press, so can you.

Friday, January 10, 2025

Calling all product businesses and designers. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🐺Are you overwhelmed when it comes to PR?

Friday, January 10, 2025

do this. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

#489: Web Performance

Tuesday, January 7, 2025

Instant navigation, Web Almanac 2024, INP debugging, font-face fallbacks and compression dictionaries. Issue #489 • Jan 7, 2025 • View in the browser Smashing Newsletter Hello Smashing Friends, Web

The Beautiful House That Made Mayer Rus Anxious—At First

Tuesday, January 7, 2025

View in your browser | Update your preferences ADPro Concrete Box Supreme I confess, I was a bit intimidated by the prospect of writing about the work of architect Tadao Ando for the first time in my

New Updates and a Sneak Peek into 2025

Tuesday, January 7, 2025

Both our email builder and website builder are getting significant upgrades to enhance your experience.͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌

🐺Get ready to get press in 2025!

Tuesday, January 7, 2025

Since you asked, we extended the sale! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Accessibility Weekly #430: FTC Orders AccessiBe to Pay $1M

Monday, January 6, 2025

January 6, 2025 • Issue #430 View this issue online or browse the full issue archive. Featured: FTC orders AI accessibility startup AccessiBe to pay $1M for misleading advertising "The US Federal

Getting ready for 2025

Sunday, January 5, 2025

Issue 227: Key focuses in the new year ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Want to Scale Your Firm in 2025? Start Here

Thursday, January 2, 2025

View in your browser | Update your preferences ADPro Build Your Best Team Yet A new calendar year presents an opportunity to wipe the slate clean, and your approach, whether slapdash or carefully

Our Must-Reads of 2024

Tuesday, December 31, 2024

View in your browser | Update your preferences ADPro Year in Review Well, we made it. It's the last day of 2024, so today, we're taking a walk down memory lane to bring you some of our