Working with SVG in React and different ways of styling it

Working with SVG in React and different ways of styling it

The Devlpr

3 года назад

55,679 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@danieloyeleye3257
@danieloyeleye3257 - 20.07.2023 13:50

My svg is not rendering anything, it's fucking BLANK, I imported it just like u did, had the same className and React could definitely find the damn file

Ответить
@lautarocorva6994
@lautarocorva6994 - 01.03.2023 00:01

Good explanation bro

Ответить
@zen123w
@zen123w - 04.02.2023 21:21

Great video and explanation!

Ответить
@arturhonores9141
@arturhonores9141 - 24.11.2022 02:48

muchas gracias por el video, me ha sido muy útil.

Ответить
@prathmeshkalehere
@prathmeshkalehere - 22.10.2022 23:55

where did that <g><g/> came from?????

Ответить
@JustAleks42
@JustAleks42 - 22.10.2022 15:21

thanks)

Ответить
@TonyProTips
@TonyProTips - 03.06.2022 08:24

thanks

Ответить
@manshihudda763
@manshihudda763 - 24.04.2022 09:11

Hi , how to use JSON of 100 svg logo and edit in react, because i want to render 100 svg logo in my project and want to edit icon and text of svg logo

Ответить
@awabelmahe9700
@awabelmahe9700 - 03.04.2022 19:09

Thank you for the very helpful video. I didn't occur to me to convert the svg to a react component.

Ответить
@youtubegarbage4u
@youtubegarbage4u - 23.07.2021 23:19

imagine you have like 50 svg images...so you have components for each of all 50 images???

Ответить
@raba650
@raba650 - 13.07.2021 06:46

This is great, but what about packaged svg icons like react-icons where you don’t have access to the individual svg file for its React component?

Ответить
@himanshulal97
@himanshulal97 - 04.06.2021 13:22

whoo tha exactly what i want to do with my svgs thanks a lot broo god bless you. hare krishana !

Ответить
@shaileshrkumar6813
@shaileshrkumar6813 - 14.05.2021 15:23

how to add svg in background ? is it possible

Ответить
@ofir77
@ofir77 - 26.04.2021 23:53

Great video thanks!!

Ответить
@jotasenator
@jotasenator - 16.04.2021 18:12

great! I had a todo ..and it s about to change values inside SVG that I have rendered in my site..like variable's values that I obtain from other components ...what do you think about it?

Ответить
@tootyrnt5533
@tootyrnt5533 - 07.04.2021 22:55

Is there any way I can create a reusable component to handle multiple SVGs? I have like 6 logos and it'd be a lot easier if i can use one component and just pass down the props.

Ответить