SVG Components in React

  Рет қаралды 73,561

basarat

basarat

Күн бұрын

Пікірлер: 73
@rakshitlakhatariya137
@rakshitlakhatariya137 Жыл бұрын
What a tutorial man! so easy explanation, Subscribed 👍
@fredericwatare-officiel1503
@fredericwatare-officiel1503 3 жыл бұрын
Really clear and helpful. Everything worked on my side Thank you my friend.
@victorveton6066
@victorveton6066 3 жыл бұрын
Simple and informative. thank you!
@totiruiz5913
@totiruiz5913 2 жыл бұрын
Thank you for the help. Easy explanation with powerful results!
@atalyy
@atalyy 3 жыл бұрын
ur voice makes my soul calm af, and btw thanks for the tutorial
@julianbelmarsh
@julianbelmarsh 3 жыл бұрын
Excellent tutorial, thanks! :)
@christophbaumann9626
@christophbaumann9626 2 жыл бұрын
Hello Basarat, awesome video! I´m wondering how to make an on hover effect on these svg´s, since adding a hover effect on them in css doesn´t seem to work for me. Is there any solution to this? Thank you very much!
@quaidbergo
@quaidbergo 2 жыл бұрын
Super explanation, thanks!
@daiaanebarbosaf
@daiaanebarbosaf Жыл бұрын
Thank you!
@simonmunka1958
@simonmunka1958 3 жыл бұрын
helpful, thanks !
@Phyx1u5
@Phyx1u5 3 жыл бұрын
awesome info thanks!
@javid1326
@javid1326 4 жыл бұрын
Great!
@anand_maurya
@anand_maurya 2 жыл бұрын
Thank you this was very helpful. I would like to know how to dynamically change "fill" property of multiple svg elements (eg. change the "fill" property of multiple circle elements in a SVG image)
@Darkdreamsxf
@Darkdreamsxf Жыл бұрын
Thank you ~
@voldemortvi4264
@voldemortvi4264 Жыл бұрын
Dude Thank you so much
@ol1175
@ol1175 2 жыл бұрын
Awesome!!!!
@thiagolinhares8546
@thiagolinhares8546 3 жыл бұрын
how can i use the @svgr with yarn? running the same command with 'yarn add' returned a error Command failed
@jeevandza3464
@jeevandza3464 2 жыл бұрын
How to make it dynamic like where we can select edit, add and add elements to SVG ?
@Musafir106
@Musafir106 3 жыл бұрын
Awesome. I'm now a fan of you.
@leofoster9754
@leofoster9754 Жыл бұрын
Thank youuu sooo much mann, you saved a lot of time
@basarat
@basarat Жыл бұрын
Glad it was useful 🥂
@gonzaotc
@gonzaotc 2 жыл бұрын
Thankss!
@Norfeldt
@Norfeldt 3 жыл бұрын
Fantastic 👌 like how you showed the different ways to do it.
@mashahansdahhansdah3604
@mashahansdahhansdah3604 3 жыл бұрын
909
@Onesmo
@Onesmo 2 жыл бұрын
thank you so much
@abhishekbhat4618
@abhishekbhat4618 2 жыл бұрын
Thank you bro
@orestprystayko9284
@orestprystayko9284 4 жыл бұрын
Everything in one place. Awesome job!
@renu3463
@renu3463 3 жыл бұрын
Quality content.
@alejandrolopez9378
@alejandrolopez9378 2 жыл бұрын
Great explanation my friend, thank you very much for sharing.
@basarat
@basarat 2 жыл бұрын
Thanks
@martintreeman6531
@martintreeman6531 2 жыл бұрын
Very useful video.
@krackytech2344
@krackytech2344 2 жыл бұрын
thanks!
@mayorwe
@mayorwe 2 жыл бұрын
My man you are the BEAST!
@basarat
@basarat 2 жыл бұрын
Thank you 🙏🏻 🌹
@user-dl6tn3pi5g
@user-dl6tn3pi5g Жыл бұрын
hi basarat, may i ask about how to use the this tag in reactjs and modify the svg size
@ramamadhavanagireddy9346
@ramamadhavanagireddy9346 2 жыл бұрын
Thanks bro
@chamaldezilva
@chamaldezilva 3 жыл бұрын
amazing explain!!! just hit the subscribe button!!!
@andressuarez1
@andressuarez1 2 жыл бұрын
x2
@en_kratia
@en_kratia Жыл бұрын
How you can be so smart about everything? Thank you very much
@viniciusm.m.7822
@viniciusm.m.7822 2 жыл бұрын
THANKS!
@basarat
@basarat 2 жыл бұрын
Appreciate you leaving a comment
@jesselopez2173
@jesselopez2173 3 жыл бұрын
thanks
@nitinupadhyay9193
@nitinupadhyay9193 2 жыл бұрын
brilliant
@hishamhassoun5224
@hishamhassoun5224 2 жыл бұрын
good explain
@pronatalia313
@pronatalia313 Ай бұрын
that’s a delightful explanation, thanks you. I have a question, is it possible to make the imported svg icon clickable just like we add onClick event?
@basarat
@basarat Ай бұрын
Yup. onClick works fine 🌹
@mohamedyoussef8835
@mohamedyoussef8835 2 жыл бұрын
Awesome video ++++++++++++++++++++ Thank You
@basarat
@basarat 2 жыл бұрын
Thanks mate ❤️🌹
@felipeoliveira5734
@felipeoliveira5734 2 жыл бұрын
thx!!!
@basarat
@basarat 2 жыл бұрын
Cheers 🥂
@ricardofernandez8154
@ricardofernandez8154 3 жыл бұрын
10/10
@djoni1
@djoni1 3 жыл бұрын
Where do I place the alt tag?
@serhiibylynka7856
@serhiibylynka7856 3 жыл бұрын
You can add a 'title' tag to svg. It works as 'alt' attribute for img. Here is a sample codepen.io/hmig/pen/adQoOJ
@mohamedaje5417
@mohamedaje5417 2 жыл бұрын
does anyone know how to make svg clickable?
@ukaszbielecki2003
@ukaszbielecki2003 2 жыл бұрын
Put svg icon inside button tags and set the style background: transparent; and border: none; on the button
@leo_leo814
@leo_leo814 6 ай бұрын
Wonderful
@basarat
@basarat 6 ай бұрын
Thanks 🙏🏻 A lot of work went into planning this video 🫶🏻🌹
@leo_leo814
@leo_leo814 6 ай бұрын
I am working on a challenge from frontend mentor, it needs to change color of svg when hover it. I search for methods on KZbin, and I think that your solution is the most best, it can use the svg as the same as text, very convinent and clever@@basarat
@fuckthereijkee
@fuckthereijkee 2 жыл бұрын
@tarunsikarwar
@tarunsikarwar 2 жыл бұрын
please make a vedio on nextjs and typescript project
@basarat
@basarat 2 жыл бұрын
Thanks for the comment! Already done : kzbin.info/www/bejne/gXaZo4CBd5iMac0 🌹
@kyle7382
@kyle7382 3 жыл бұрын
you can also just do the following without needing to make a react component for every icon you want: import { ReactComponent as IconName } from '../path/img/icon.svg';
@felipepereira1967
@felipepereira1967 3 жыл бұрын
Your son of a bit***, you just save my job!!!
@Gelliny
@Gelliny 3 жыл бұрын
This is very helpful but I can't change the color with that
@felipepereira1967
@felipepereira1967 3 жыл бұрын
@@Gelliny Você já tentou usar os atributos "color" ou "fill" passando a cor como argumento?
@Gelliny
@Gelliny 3 жыл бұрын
@@felipepereira1967 eu tentei color e fill e não consegui. Eu fiz do jeito que ele mostrou no vídeo aqui e só consegui mudar a cor fazendo um componente novo e mudando a prop fill pra currentColor.
@felipepereira1967
@felipepereira1967 3 жыл бұрын
@@Gelliny Eita gambiarra boa! Kkkk Bom, pelo menos conseguiu resolver seu problema!
@user-ol1dl9qu9f
@user-ol1dl9qu9f 2 жыл бұрын
Command "npx @svgr/cli" is a life saver! Thank you man🙏
Как поменять цвет SVG в React-приложении
5:22
Михаил Непомнящий
Рет қаралды 18 М.
The Right Way to Animate SVG in React
15:36
CoderOne
Рет қаралды 20 М.
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 29 МЛН
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 39 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 41 МЛН
Ryan Carniato - Facing Frontend's Existential Crisis, React Summit 2024
26:46
React Conferences by GitNation
Рет қаралды 3,4 М.
Working with SVG in React and different ways of styling it
9:35
Build a Reusable Component in React (Shadcn/ui, Tailwind)
19:08
Cosden Solutions
Рет қаралды 22 М.
Build an icon component library for React with SVGR and Rollup
21:23
Mykhaylo Ryechkin
Рет қаралды 18 М.
Why can’t I get my LOGO in my APP? 😨 How to import SVGs in Next.js
9:13
You are loading Images wrong! Use this instead 😍
14:41
CoderOne
Рет қаралды 210 М.
Learn To Build An SVG Animation With CSS
18:32
developedbyed
Рет қаралды 750 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 930 М.
React CARD components 🃏
11:59
Bro Code
Рет қаралды 50 М.
не так кладёшь #карелия #рыбалка #природа #сегозеро
0:13
Север - Родина смелых
Рет қаралды 2,8 МЛН
She realized that true happiness was not near this guy 😇🦄❤️‍🔥
0:12
iPolina Queen of the Cringe 👑
Рет қаралды 4,9 МЛН
How to drink orange juice legally @kahoko6607
0:29
OHIOBOSS SATOYU
Рет қаралды 14 МЛН