The Right Way to Animate SVG in React

  Рет қаралды 16,839

CoderOne

CoderOne

Күн бұрын

Adding SVGs to your React application and animating them is a crucial point of making your landing pages stand out and creating smooth-looking websites. In this video, we'll see how to create, export, optimize, import and animate your SVGs from Figma or any other vector software inside your React apps like a senior developer.
🎉Our Newsletter is live! Join thousands of other developers
islemmaboud.com/join-newsletter
⭐ Timestamps ⭐
00:00 Intro
00:34 Brief intro into SVG
01:34 Optimizing & Exporting SVG in Figma
06:03 Converting SVG into a React Component
10:05 Animation
-- Special Links
✨ Join Figma for Free and start designing now!
psxid.figma.com/69wr7zzb1mxm
👉 ✨ Join Figma For Professionals And Start Designing with your Team ✨
psxid.figma.com/ucwkx28d18fo-...
💻 React SVG Animation Repo
github.com/ipenywis/react-svg...
🧭 Build Login/Register API Server w/ Authentication | JWT Express AUTH using Passport.JS and Sequelize
• Build Login/Register A...
🧭 Turn Design into React Code | From prototype to Full website in no time
• Turn Design into React...
🧭 Watch Tutorial on Designing the website on Figma
• I Design a onecolor We...
🧭 Watch Create a Modern React Login/Register Form with smooth Animations
• Create a Modern React ...
🧭 Debug React Apps Like a Pro | Master Debugging from Zero to Hero with Chrome DevTools
• Debug React Apps Like ...
🧭 Master React Like Pro w/ Redux, Typescript, and GraphQL | Beginner to Advanced in React
• Master React Like Pro ...
🧭 Learn Redux For Beginners | React Redux from Zero To Hero to build a real-world app
• Debug React Apps Like ...
🧭 Introduction to GraphQL with Apollo and React
• Introduction to GraphQ...
👉 Personal Links:
✨ My Portfolio islemmaboud.com
🐦 Follow me on Twitter: / ipenywis
💻 GitHub Profile github.com/ipenywis
Made with ❤️ by Coderone

Пікірлер: 18
@tangflx
@tangflx 3 ай бұрын
oh my this video saved my life. i was using chatgpt to animate each polygon. it was nightmare. didnt know framer motion exits!
@Diego_Cabrera
@Diego_Cabrera 7 ай бұрын
Nice explanation. I used framer motion in many of my projects as well. Keep it up!
@Cypekeh
@Cypekeh 7 ай бұрын
SVGs being from 2001 is old? I thought they were from the early 90s or 80s like most things in CS :D (HTML, Python, vim, Haskell) As for the animations however, amazing explanation. I did use framer motion in a project recently, but I didn't thought of applying it to SVGs. It looks sick
@user-ie4tt1xp7j
@user-ie4tt1xp7j Ай бұрын
Thanks! You are very straightforward and clear, unlike Framer Motion documentation.
@laptopuser5198
@laptopuser5198 5 ай бұрын
Great video, the best part is mapping the the power field.
@shahbazahmadsiddiqui
@shahbazahmadsiddiqui 7 ай бұрын
Great explanation video... I use Framer Motion to animate SVGs too...
@alem182
@alem182 6 ай бұрын
Buenisimo, gracias!!
@thyaghito
@thyaghito 4 ай бұрын
Always wanted to do this simple animations without use lottie! thank you!
@nano_org
@nano_org Ай бұрын
Nice video, thanks
@aymenbachiri-yh2hd
@aymenbachiri-yh2hd 20 күн бұрын
Thank you
@ashik_dev
@ashik_dev 7 ай бұрын
Nice video...
@Schmexy
@Schmexy 4 ай бұрын
Awesome video! What do you use to preview SVG in VSCode?
@Smeali
@Smeali 4 ай бұрын
5:59 SVG Preview
@loupa6128
@loupa6128 2 ай бұрын
Nice video. Is there a way to animate SVG or change current animation using something like onClick/onTap in framer-motion? I can't find anything.
@user-ie4tt1xp7j
@user-ie4tt1xp7j Ай бұрын
You can animate something by using a deconstructed object with animation parameters and modify that object on demand in hook, I believe.
@athuljonnie
@athuljonnie 4 ай бұрын
Hey, is it possible to make this component as a background for a div? edit: typo
@user-ie4tt1xp7j
@user-ie4tt1xp7j Ай бұрын
You can do background: url(%svg%) in CSS, if I understood your question right.
@grubbsgaben4461
@grubbsgaben4461 Ай бұрын
Typical programmer guide: cut out the part where he actually writes the stuff, that we came to see how to do.
This is the Only Right Way to Write React clean-code - SOLID
18:23
Animate SVG Character | SVGator
10:38
SVGator
Рет қаралды 10 М.
О, сосисочки! (Или корейская уличная еда?)
00:32
Кушать Хочу
Рет қаралды 7 МЛН
Bro be careful where you drop the ball  #learnfromkhaby  #comedy
00:19
Khaby. Lame
Рет қаралды 35 МЛН
[Vowel]물고기는 물에서 살아야 해🐟🤣Fish have to live in the water #funny
00:53
15 crazy new JS framework features you don’t know yet
6:11
Как поменять цвет SVG в React-приложении
5:22
Михаил Непомнящий
Рет қаралды 17 М.
Framer Motion (React) - The Basics
17:07
rithmic
Рет қаралды 15 М.
The Framer Motion Crash Course || React Animation Library 2023
52:36
Tom Is Loading
Рет қаралды 71 М.
They made React great again?
4:11
Fireship
Рет қаралды 984 М.
Animate Any SVG icons with CSS Only | SVG Stroke Animation With Html CSS
6:58
How to Morph an SVG using Framer Motion, Flubber.js and Nextjs
11:00
Olivier Larose
Рет қаралды 10 М.
Visual Copilot Converts Figma Mocks to React Fast and Accurately
15:44
Jack Herrington
Рет қаралды 75 М.
How to Animate SVG Strokes
14:11
Coding in Public
Рет қаралды 11 М.
О, сосисочки! (Или корейская уличная еда?)
00:32
Кушать Хочу
Рет қаралды 7 МЛН