I finally get how SVGs work
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Related videos
I’m done.
Theo - t3․gg
185.8k views
We all fell for it…
Theo - t3․gg
216.3k views
I don’t really like GPT-5.5…
Theo - t3․gg
132.8k views
How does Claude Code *actually* work?
Theo - t3․gg
189.3k views
I’m serious.
Theo - t3․gg
95.7k views
It's finally here.
Theo - t3․gg
152.2k views
I was wrong
Theo - t3․gg
69.3k views
I’m so tired.
Theo - t3․gg
65.4k views
React got hacked. It's really, really bad.
Theo - t3․gg
112.4k views
How I code with AI right now
Theo - t3․gg
192.1k views
Top Comments (10)
Thanks for sharing my post, Theo! Glad it was helpful. 😄
Inkscape doesn't mush everything together into one path element. But instead it adds layer and metadata elements that might bloat the file size. It's not that bloated, but for icons embedded on websites you want it as small as possible. So then I manually strip anything unnecessary. But since inkscape is based on SVG you have direct control over the exact elements that you get. IIRC you can even give them the id/class attributes that you want directly in inkscape. Also inkscape is open source AND can be used to render SVGs via command line options without opening a window. So I use inkscape in some Makefiles to "compile" SVGs to PNG at various sizes etc.
Side note: this whole video is why I disagreed with an earlier take that SVG code doesn't belong in React. You unlock soooo much power by dynamically rendering SVG code using React - but yeah, you lose all of it when everything in your SVG is one illegible path element.
I'm jealous of how good that blog looks and how much effort he puts into it. I hope I can build something like that one day if I stay dedicated and make the time.
I’m just over halfway through and I’ve already learnt so much from this video. Thanks Josh (and Theo)
finally a non AI related vid...
svg filters is a huuuge topic to cover. one of the useful parts about it is that it allows you to create custom css filters (proper shadows and background blurs are the most useful)
21:05 "That strokes had that level of customization"
I've done a decent amount of work with Canvas in the past, and I had no idea how much crossover there was between them and SVGs. This makes them so much more approachable! Thanks for finding/showing this off!
1:56 I hardly skip Theo’s ads. They come as information than ads to me
Unlock the Data Inside
Turn Videos into Knowledge
- Get FREE 10/day: transcripts, summaries, chats
- Chat with videos, export text & PDF
- $1 free API credit for RAG, chatbots & research
Free forever plan • All features unlocked
Top Comments (10)
Thanks for sharing my post, Theo! Glad it was helpful. 😄
Inkscape doesn't mush everything together into one path element. But instead it adds layer and metadata elements that might bloat the file size. It's not that bloated, but for icons embedded on websites you want it as small as possible. So then I manually strip anything unnecessary. But since inkscape is based on SVG you have direct control over the exact elements that you get. IIRC you can even give them the id/class attributes that you want directly in inkscape. Also inkscape is open source AND can be used to render SVGs via command line options without opening a window. So I use inkscape in some Makefiles to "compile" SVGs to PNG at various sizes etc.
Side note: this whole video is why I disagreed with an earlier take that SVG code doesn't belong in React. You unlock soooo much power by dynamically rendering SVG code using React - but yeah, you lose all of it when everything in your SVG is one illegible path element.
I'm jealous of how good that blog looks and how much effort he puts into it. I hope I can build something like that one day if I stay dedicated and make the time.
I’m just over halfway through and I’ve already learnt so much from this video. Thanks Josh (and Theo)
finally a non AI related vid...
svg filters is a huuuge topic to cover. one of the useful parts about it is that it allows you to create custom css filters (proper shadows and background blurs are the most useful)
21:05 "That strokes had that level of customization"
I've done a decent amount of work with Canvas in the past, and I had no idea how much crossover there was between them and SVGs. This makes them so much more approachable! Thanks for finding/showing this off!
1:56 I hardly skip Theo’s ads. They come as information than ads to me