Visual Copilot Converts Figma Mocks to React Fast and Accurately

Поділитися
Вставка
  • Опубліковано 6 лип 2024
  • Let's try out Visual Copilot to turn Figma mocks into React on NextJS.
    Figma mock: www.figma.com/file/BB4xE8gevC...
    Downloader script: gist.github.com/jherr/14cf314...
    👉 Upcoming NextJS course: pronextjs.dev
    👉 Don't forget to subscribe to this channel for more updates: bit.ly/2E7drfJ
    👉 Discord server signup: / discord
    👉 VS Code theme and font? Night Wolf [black] and Operator Mono
    👉 Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF
    00:00 Introduction
    00:54 Converting Figma To React
    03:50 Integrating Into NextJS
    13:00 What's Left After the AI
    15:10 Outroduction
  • Наука та технологія

КОМЕНТАРІ • 111

  • @darenbaker4569
    @darenbaker4569 7 місяців тому +2

    This is awesome sharing this tomorrow with the team, thanks so much.

  • @JF7SWE
    @JF7SWE 7 місяців тому +10

    This is actually pretty good. The issue with most tools that generate code is the semantic aspect of it but the "Quality" mode is actually alright. Gives you a good starting point.

  • @_jeff.medeiros
    @_jeff.medeiros 7 місяців тому +1

    Your script was the thing I actually liked the most, nice content Jack!

  • @Dylan_thebrand_slayer_Mulveiny
    @Dylan_thebrand_slayer_Mulveiny 7 місяців тому +7

    Figma is so damn good. We replaced Photoshop with it years ago and it's made our development process SO much better.

    • @lutfiikbalmajid
      @lutfiikbalmajid Місяць тому

      who use photoshop nowadays? we replaced Photoshop to Figma, and Illustrator & PPT with Canva 😅

  • @user-ku2sn1wz1c
    @user-ku2sn1wz1c 7 місяців тому +10

    This mock-up is veeery simple, first of all. And come one guys, already one year ago it was able to create working apps by photo. I do not underestimate AI and it will be able to write code ( and that is 20% of my working day), but if we are talking about complexity and real problem solving it is nowhere nearer to replace even a copywriter or content creator (at least for now😂). And I will let myself a chance to predict the future of it and say that it’s going to reach it plato in a year or two. Soon we won’t be frustrated but happy that it is here .

  • @axelsomerseth
    @axelsomerseth Місяць тому

    Great content. I will try it out next week. It will help me a lot with the HTML of a platform that I am building

  • @anisdragan
    @anisdragan 7 місяців тому +3

    Hi Jack, fantastic work, Your explanation and insights were really helpful. I noticed a slight issue with some background noise, particularly noticeable on the right audio channel during quieter moments. It's a minor thing but thought to mention it in case it's helpful for future videos. Thanks for the great content!

    • @jherr
      @jherr  7 місяців тому

      Thanks!

  • @mostafahamid9479
    @mostafahamid9479 7 місяців тому +3

    nice one, really handy

  • @gmailuser5780
    @gmailuser5780 7 місяців тому +1

    what a nice forest view from windows of your home)

  • @letmeplaygames2466
    @letmeplaygames2466 7 місяців тому +1

    great video
    thanks

  • @VLADICA94KG
    @VLADICA94KG 5 місяців тому

    Can you create a video on setting up the terminal to look like yours? It is useful and advanced.
    Thanks for the great content!

  • @thith_thin
    @thith_thin 7 місяців тому +1

    Super cool 🎉

  • @gorbulevsv
    @gorbulevsv 7 місяців тому +1

    Thanks, cool!

  • @jamesfoley4426
    @jamesfoley4426 7 місяців тому +1

    Jack, what's your go to eccom stack? Have you ever thought about a video series on the JackStack EccomPack to make a FatStack?

    • @jherr
      @jherr  7 місяців тому +1

      Good question. I don't really have one. I looked at Saleor a while back, and Shopify of course. Normally the choice is already made. If I do merch it'll probably be either the merch vendor or Stripe.

  • @user-oo9vi4cz2l
    @user-oo9vi4cz2l 6 місяців тому

    Thanks Jack for this video!!
    what is the cli auto complete tool??

    • @jherr
      @jherr  6 місяців тому +1

      Fig.

  • @last.journey
    @last.journey 7 місяців тому +2

    You would still have to turn it into dynamic code and that is the point actually

  • @sharqyyem
    @sharqyyem 7 місяців тому +1

    Amazing job as always 👏 thanks for sharing.
    Can make it generate components if it was created in Figma.

    • @jherr
      @jherr  7 місяців тому +2

      Yeah, that's the whole point. You could generate block by block to create components. Or do whole pages as I did here. Your call.

  • @user-tg3nd6me9l
    @user-tg3nd6me9l 2 місяці тому

    When I design in Figma, I create mobile, tablet and desktop frames. I may use one component for say ‘pricing’ and it has 3 variants. I use modes and variables to make the right variant work for each frame size i.e. mobile, tablet, desktop. How do I use Visual Copilot to use my responsive work in Figma?

  • @romansernato6526
    @romansernato6526 7 місяців тому +2

    looks like a good solution for nocode like bs enthusiasts

  • @Crevulus
    @Crevulus 7 місяців тому

    Is this tool useful for generating code from component library designs? I quite often get designs with, for example, a button that can have a hover state, optional icon, optional text, disabled state etc. Does anyone know if this tool can generate code/styling based on those facets?

    • @jherr
      @jherr  7 місяців тому +1

      you could use it at a micro level to generate the code and then refactor that code into a library component.

  • @zb4238
    @zb4238 7 місяців тому +1

    🕶Keep up Jack

  • @ujolmaharjan2010
    @ujolmaharjan2010 7 місяців тому +3

    Omg I'm currently converting figma mockup to react on my current job.😅

    • @jherr
      @jherr  7 місяців тому

      It's free! Give it a go!

  • @yuur1440
    @yuur1440 7 місяців тому

    The script not work for me :(
    TypeError: Cannot read properties of null (reading '1')

  • @durgeshjhalwa6639
    @durgeshjhalwa6639 7 місяців тому +1

    🎉🎉🎉

  • @TheTenThousandThings
    @TheTenThousandThings 7 місяців тому

    rly like those shoes wtc

  • @muhammaddanielzuhad649
    @muhammaddanielzuhad649 7 місяців тому

    nice content, what theme do you use sir??

  • @alltechneedscom7658
    @alltechneedscom7658 7 місяців тому

    Adobe came out with this like 10 yrs ago with jsx scripting language in photoshop

  • @pavanbhat92
    @pavanbhat92 7 місяців тому

    The colour theme looks pretty good.
    What's it call ?

    • @jherr
      @jherr  7 місяців тому +1

      Night Wolf Black with JetBrains Mono.

    • @pavanbhat92
      @pavanbhat92 7 місяців тому

      @@jherr Thanks

  • @bruv1029
    @bruv1029 7 місяців тому

    Do you think development is a good career for young people, would it be viable in the near future?

    • @jherr
      @jherr  7 місяців тому +1

      As with any career you have to adapt constantly. So if you are willing to do that, then I do think there are careers in tech long term.

  • @Thassalocracy
    @Thassalocracy 7 місяців тому +1

    I'm surprised Steve Sewell hasn't thumbs up-ed this video yet 😅

  • @ChronicleContent
    @ChronicleContent 7 місяців тому

    I will wait till some app does everything for me

  • @nickname123321
    @nickname123321 7 місяців тому +4

    Great, time to look for a new job.

    • @jherr
      @jherr  7 місяців тому +6

      Nah. Still tons do to AFTER the conversion. And the conversions are never perfect with any of the tools I've tried.

  • @draco-qr7ye
    @draco-qr7ye 7 місяців тому

    Hi I use the windows system and I cannot run the script with the given command is there any specific command for windows THank you
    cat src/app/page.tsx | node scripts/download-images.js | pbcopy

    • @adlerspencer
      @adlerspencer 6 місяців тому

      MODEL UBUNTU
      ```bash
      cat src/app/page.tsx | node scripts/download-images.js | xclip -selection clipboard
      ```
      MODEL WIN POWERSHELL (Not Tested)
      ```powershell
      Get-Content .\src\app\page.tsx | node .\scripts\download-images.js | Set-Clipboard
      ```

  • @samsuriahmad2128
    @samsuriahmad2128 7 місяців тому +1

    Fast for slicing 😂😂😂❤

  • @saeedkhazalvand4821
    @saeedkhazalvand4821 7 місяців тому

    Hello dear Jack,
    How can contact you directly , I have some question and need consultant .

    • @jherr
      @jherr  7 місяців тому

      My DMs on Twitter and Discord are open, but please do me a favor and start the conversation with "I'm so and so from the comments, wanted to talk with you about consulting." If you hit me up with just "Hello", I'm unlikely to answer.

    • @saeedkhazalvand4821
      @saeedkhazalvand4821 7 місяців тому

      @@jherr it is OK. ❤

  • @lukasoliveira73
    @lukasoliveira73 5 місяців тому

    figma is awesome

  • @Zechey
    @Zechey 7 місяців тому

    probably works the best with regular react, tried to convert my mobile app figma into react-native components and only poop came out

    • @jherr
      @jherr  7 місяців тому

      i don't think it's made for that, at the moment.

  • @davestockley8174
    @davestockley8174 7 місяців тому +2

    they took ma jeeeeerb

    • @jherr
      @jherr  7 місяців тому +2

      My guess is that there is a lot more to your job than laying out HTML and CSS.

    • @davestockley8174
      @davestockley8174 7 місяців тому +1

      True true. But it's all billable hours

    • @anubisai
      @anubisai 7 місяців тому

      ​@@davestockley8174 trash approach to life

  • @darkmift
    @darkmift 3 місяці тому +1

    Use skeleton loaders its better UI and you don't need to worry about manipulating the resources.

  • @waleedsharif618
    @waleedsharif618 7 місяців тому

    Why dont you just take photo of your Figma design and give that image to ChatGpt 4 and ask it to make it website and give html and css for it (i did it and it works very fast and was accurate)

  • @anaslaraki
    @anaslaraki 7 місяців тому

    this thing is gonna replace devs soo

  • @hermann95
    @hermann95 7 місяців тому +2

    Seems like it's best for building basic components with it, to get a baseline and help with the boring stuff.

    • @djcardwellai
      @djcardwellai 7 місяців тому +4

      Keep telling yourself that. Our jobs are at risk 100%

    • @hermann95
      @hermann95 7 місяців тому

      @@djcardwellai I can only comment on the stuff that I see right now, and that's definitely not threatening.
      The future might look different, of course.

    • @nickwoodward819
      @nickwoodward819 7 місяців тому +3

      ​@@djcardwellai they really aren't, unless you're piss poor at your job.

    • @Rensoku611
      @Rensoku611 7 місяців тому

      ​@@nickwoodward819that's cope... even if you're good at your job you're still at risk in the long term because AI will keep improving exponentially for many years to come

  • @greendsnow
    @greendsnow 7 місяців тому +1

    Where does Web dev go?

    • @jherr
      @jherr  7 місяців тому +2

      To actually develop the actual code that runs the page, connects to the services, does the responsive work, internationalization, etc. This just gets a lot of the grunt work out of the way. And maybe not even all the grunt work if the design is tough.

    • @greendsnow
      @greendsnow 7 місяців тому +1

      @@jherr You'll do it just once and AI will copy it instantly. You can only be so creative every time...

    • @davestockley8174
      @davestockley8174 7 місяців тому

      @@jherr since when has building UI been grunt work... this stuff scares the crap out of me.

    • @jherr
      @jherr  7 місяців тому +2

      @@davestockley8174 since when has "building UI" consisted of simply copy and pasting CSS values from Figma into VS Code? that's just a tiny fraction of "building UI" and I'm happy to see it automated since it can make it way faster to build UIs. "Building UI" to mean means way more than just styling some divs, it means adding interactivity, making it data driven from services, adding internationalization, accessibility, animations, routing, the list goes on and on. The demo pages that I showed here are only 20% done at best, probably less since the responsiveness is good, but probably far from what the customer would actually want. So, yeah, I consider that first part of copy and pasting values from Figma to VS Code trying to make it as close to "pixel perfect" as possible very much grunt work.

    • @IvanRandomDude
      @IvanRandomDude 7 місяців тому

      To using 3rd party and SaaS solutions

  • @phoneywheeze9959
    @phoneywheeze9959 7 місяців тому +2

    is it free?

    • @jherr
      @jherr  7 місяців тому

      The fast mode is free, the Quality mode is pay for.

  • @user-ld1de1mc4h
    @user-ld1de1mc4h 7 місяців тому

    Oh no! We are done! AI will take our jobs now :(

  • @m-ok-6379
    @m-ok-6379 7 місяців тому +1

    AI will be designing and coding 60-70% of the work in 2-3 years.

  • @djcardwellai
    @djcardwellai 7 місяців тому +26

    Let's be honest, if AI keeps progressing at this rate it won't be long before we all have to look for new careers. At the end of the day, we are paid problem solvers, and it's okay if we have to solve new problems. I'm actually excited for it. Also, it's time for us to accept that the Cyber Truck is real. As much as we all wanted to pretend like it would never happen and that Elon is a scam, turns out we were wrong. It's easy to doubt, harder to believe.

    • @nickwoodward819
      @nickwoodward819 7 місяців тому +36

      you've not used AI for any significant coding have you? it's a useful tool, it's no where near a replacement for devs.
      also, the cybertruck has been "real" for fucking ages. it's the fact that it's a joke that's the problem.

    • @mattweihl
      @mattweihl 7 місяців тому +4

      This is UA-cam, not X/ Twitter. You don't need to be a bluecheck Elon reply guy here.

    • @Rensoku611
      @Rensoku611 7 місяців тому +6

      ​@@nickwoodward819 Common mistake: OP is talking about the future, not the present.
      AI in the future (less than 7 years from now) will definitely replace the vast majority of software engineers becaue it's a pretty easy job for an AI to do. We're not nurses or air conditioner repairmans. Software engineering is one of the areas with highest exposure to automation

    • @nickwoodward819
      @nickwoodward819 7 місяців тому +9

      @@Rensoku611 I understand what the OP was talking about, he said "if it progresses at this rate it won't be long before we all have to look for new careers", and I replied that it's "nowhere near a replacement for devs" - the implication being that it *will* be long because people have underestimated what it takes to write quality code.
      And LLMs by their very nature are not a suitable replacement for software engineers writing that code. They're not accurate or consistent enough, and who knows if they ever will be. They're a useful tool for suggestions, but not something I'd let stink up my code base without checking every line. And it's not going to be something embraced by project managers either. No one is risking their neck on an LLM with even the faintest chance of hallucinating

    • @djcardwellai
      @djcardwellai 7 місяців тому +1

      @@nickwoodward819 at least you've progressed to calling it a useful tool. About a year ago you were telling yourself it is a joke. Sounds like you're pretty butt hurt about the cyber truck delivery event tomorrow. Which part of the cyber truck is a joke?

  • @reefgb77
    @reefgb77 7 місяців тому

    Cool ai tool but too much garbage HTML.
    This render is huge, foiled with HTML tags (what's the idea of using react without custom components), unreadable, not reusable, looks like spaghetti code in vanilla.
    But the idea behind it is good.

    • @jherr
      @jherr  7 місяців тому +1

      That's why I went on to talk about componentization as something that is left for the UI developer to do.

  • @humbertoventura1344
    @humbertoventura1344 2 місяці тому

    Locofy is a piece of shit. It shows the design adaptive on its simulator but on Xcode its all mess up. I can't belive they actually made a crappy plugin and call it a good.