Build an icon component library for React with SVGR and Rollup

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 19

  • @pedroserapio8075
    @pedroserapio8075 2 роки тому

    Very well explained. Thank you for pointing out the Babel setup, usually not simple to understand.

  • @Uma-ol6rh
    @Uma-ol6rh 3 роки тому +1

    I followed along and used my own SVG images, it works great locally. Thank you, awesome tutorial.

  • @HeyNoah
    @HeyNoah Рік тому

    Exactly what I was looking for! Love your videos man! Thanks so much!

  • @EzequielGarraffo
    @EzequielGarraffo 3 роки тому

    I have no words to thank you. This solved my problem with svgs and rollup.
    Fantastic tutorial. Subscribed and liked.

    • @mryechkin
      @mryechkin  3 роки тому +1

      Glad to hear that! Thank you :)

  • @alexanderbartolo444
    @alexanderbartolo444 2 роки тому

    This is great, thank you for the detailed explanation.

  • @rmjwilbur
    @rmjwilbur 2 роки тому

    Thanks, looks just like what I was after

  • @phanirajk9144
    @phanirajk9144 3 роки тому

    Great tutorial.
    Looking forward for more.

  • @carolineroy8009
    @carolineroy8009 2 роки тому

    Super nice tutorial ! I hope you'll publish new videos in the future, love your content 🥺

  • @ericsonl_
    @ericsonl_ Рік тому +1

    Hey it's there a way to warp it as props from Icon component like using it with button for example `...` or ``

  • @flightstreamer
    @flightstreamer 3 роки тому

    Awesome! Thanks for a great tutorial once again! 😀

  • @rudzkygen
    @rudzkygen Рік тому

    Is there an option to add dynamic import for there icons? Something similar to Lucide Icons

  • @PabloRodriguez-hc4wd
    @PabloRodriguez-hc4wd 2 роки тому

    Awesome!!! Which rollup config dou you recomend to generate .js n.esm and ts?

  • @pixelbakery
    @pixelbakery 3 роки тому +1

    Hi, any advice on how to use SVGR with Vite/React/Tailwind?

    • @mryechkin
      @mryechkin  2 роки тому

      Great question! You can use their Rollup plugin in Vite. I made a sample repo for reference: github.com/mryechkin/vite-svgr

  • @brindch8372
    @brindch8372 2 роки тому

    Great work! how about creating a component library that is using material-ui?

  • @vedbhanushali608
    @vedbhanushali608 10 місяців тому

    thanks

  • @withAsim
    @withAsim 3 роки тому

    Hi, I want to use (.jsx) files rather than (.js) how can I use it because I am facing an error in the build.

  • @mohamedyoussef8835
    @mohamedyoussef8835 2 роки тому

    Awesome Tutorial +++++++++++++++++ Thank You