Converting Figma designs into React Components with Styled Components and Storybook

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

КОМЕНТАРІ • 49

  • @AnthonyCandaele
    @AnthonyCandaele 3 роки тому +8

    nice to see your workflow from figma design to implementing in React. I think I'll have a look a Storyboard. I'm looking forward to that tutorial on implementing a theme with Styled Components.

  • @justinr9699
    @justinr9699 3 роки тому +4

    The tutorial we’ve all been waiting for. Thank you!!!!

  • @desmoulins6095
    @desmoulins6095 3 роки тому +9

    Great for a fullstack dev oriented backend like me who cannot center a div !

  • @ajjo5513
    @ajjo5513 3 роки тому +5

    Seeing this video has made me realise how convenient figma is. For practice I try and replicate some designs (from images rather than an actual design file) and I am just now realising how difficult I’ve been making my life 😅
    Quite like your workflow. The whole process is very streamlined.

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

    Awesome. Please make more videos like this. Your way of explaining things is quite brilliant.

  • @jacob.lee380
    @jacob.lee380 Рік тому

    This is an amazing content for someone like me!! hope he comes back and makes contents again!

  • @JarrodKane
    @JarrodKane 3 роки тому +2

    Hey mate, really appreciate the video.
    Currently working on my first web dev job and having to convert a heap of figma designs into components, I figured to use storybook since it's basically just creating the components right now.
    Found your video and will throw you a follow here and on twitch

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

      Glad I could help!

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

    man just too good at frontend + he just showed us what kinda thoughts we'll go through when we code 😂
    I'm digging you in socials!

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

    Would you still export manually now that tools like FireJet exist that will faithfully generate React components with names and hierarchies used in Figma components ?

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

    Stumbled upon you in my recommendations! Awesome video, i love your workflow :)

  • @clutchcreator
    @clutchcreator 2 роки тому +6

    Amazing video Oscar. ❤️
    We would love for you to build with Clutch.
    Not bragging, but we make the process of designing styled ReactJS components super simple and easy. 🎉
    We give you the options to:
    - Visually compose styled ReactJS components (and switch to code editing mode whenever you want)
    - Connect any backend to build LIVE data-driven prototypes
    - Export the code outside of the platform for independent hosting (Vercel/Netlify)
    We also have a Figma importer coming soon that will make the process of going from Figma > ReactJS as seamless as possible.
    Would love your feedback!

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

    Great for fullstack explaining, It is a pity that the ending is cut, but it can guess from the source code.

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

    Nice will watch it tomorrow, thanks

  • @charlesrodriguez6276
    @charlesrodriguez6276 2 роки тому +3

    Do you still make great videos or do you do live streams? I really like the demonstration of the workflow and would look forward to those future videos you mentioned making!

    • @oscargws
      @oscargws  2 роки тому +1

      I actually haven't made any since this, but I'm going to restart this year with some similar content, thanks for watching.

    • @jacob.lee380
      @jacob.lee380 Рік тому +1

      @@oscargws man... it's 2023 come back!

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

      @@oscargws Echoing the comment, would love to see more videos!

  • @DK-mm1yp
    @DK-mm1yp Рік тому

    so hard Oscar, it was so hard to show storybook settings, Oscar why now i have to spend another hour looking for storybook settings.

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

    Do you use vim inside vac? I liked you movement flow in the editor what do you use?

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

    I suck at design when using React.... If u are one then this is a must watch .

  • @alulaleak
    @alulaleak 2 роки тому +1

    Thanks for the video. Definitely going to try storybook out.. I noticed you’re typing all of your css into your jsx file… is that a typical thing you do or for the sake of the video? Is this the only efficient way to streamline the figma to react process or would it be just as convenient putting all the styling into its own css folder?

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

      If I'm styling say, a Button, I'll usually have a 'Button.tsx' file, and then next to it, inside the same folder a `Button.styles.ts` folder, with my styled components for that Button!

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

    Nice tutorial! What do you think of tools that auto-generate React components from Figma designs, like Clapy?

  • @waterm3lonlover937
    @waterm3lonlover937 2 роки тому +1

    I don't understand the 'import styled from styled-components'... it isn't in your git files. I am assuming it imports your 'styled.d.ts' file ???? I have an error in storybook that says 'styled' is not defined or Module not found: Can't resolve 'styled-copmponents'

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

      So you have to run `yarn` in the repo to install all the packages first, then you can use the repo!

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

      @@oscargws ty!

  • @RussianPinay
    @RussianPinay 2 роки тому +2

    What happened at the end, back out!

  • @shaikikbhalBasha
    @shaikikbhalBasha 2 роки тому +1

    Thanks

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

    thanks for the tutorial! really helpful

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

    great tutorial, really helpful

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

    Good tutorial!

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

    Why adding padding 16px and not margin 16px? I am only beginning css and wondering if it wont fuck up flex.

    • @oscargws
      @oscargws  3 роки тому +6

      There's a bit to this, but a good rule of thumb for deciding between padding and margin is to use margin when you're trying to separate the block from things outside it and to use padding to move the contents away from the edges of the block

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

    would you mind sharing some of the code for this walkthrough? really enjoyed it, thanks!

    • @oscargws
      @oscargws  2 роки тому +1

      Just added the code to the description then

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

    what happens at 28:09 ?

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

    vim bindings? 👀

  • @yaboi.hitmaizer
    @yaboi.hitmaizer 2 роки тому +1

    great vid! helped a bunch! thanks! ps. anyone knows this theme for vscode? looks awesome!

    • @oscargws
      @oscargws  2 роки тому +1

      Hey mate, the theme is Monokai Pro, you can find it here! monokai.pro/

    • @yaboi.hitmaizer
      @yaboi.hitmaizer 2 роки тому

      @@oscargws Thanks a bunch 🙌 Hopefully there's more videos down the pipe soon, this one was great man

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

    Which font are you using?

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

    Storybook is free ?

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

    That's a bad example. Wouldn't use it in production, too verbose. To style explicit dependency, shouldn't use explicit sizes and paddings aren't suppose to be applied on elements out of the element it self.