Request details

CONVERT TO CODE

We seriously need to be able to convert our designs into code, just like sketch and invision can both do. This is the only thing holding people back from joining xd.

242 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Tom Clements shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    feature-needs-more-info  ·  AdminElaine (Adobe) (Admin, Adobe) responded  · 

    Hi, all-

    “Convert to code” is fairly ambiguous, and I’m looking for more specifics as to what you’re hoping to get out of this. We already have a number of stories that go to specific technologies: HTML/CSS, XCode, Android Studio, etc. I’d like to close this one out in the interest of having more specific export paths.

    -Elaine

    36 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Tyler Moore commented  ·   ·  Flag as inappropriate

        "Convert to code" is fairly ambiguous- translates to the fact you understand what the customer wants, but would rather keep being lazy and not seek innovation. I agree with @Sam below.

        Where is the scrappy startup spirit of Adobe? Way to completely disregard this issue. Also, way to motivate up and coming developers to work harder than you, and smarter than you, to possibly fixing this issue instead of killing the discussion.

      • Erik Demule commented  ·   ·  Flag as inappropriate

        The future of XD is to get the possibility to generate the final application (source code) from the prototype (for all platform): that is the future or programming industry and UIX. Like the company creolabs.com starting to trying to do.
        It's not possible that Adobe doesn't think about that! I hope this day will come quickly...

      • Bobo commented  ·   ·  Flag as inappropriate

        It is interesting if there was the possibility to publish the project on a web domain in possesion or on a domain created by Adobe, as in Adobe Portfolio, without codes, like Adobe Muse.

      • David Bonnabel commented  ·   ·  Flag as inappropriate

        TJ,

        You might want to look into services like Zeplin.io for that service. At our company we have adjust our workflow to XD design / experience and then to bridge to dev we use Zeplin to export code, style guide, coponents and images. We have had great success with it and our devs really find ot useful and saves a ton of time.

        Cheers,
        David

      • TJ Zafarana commented  ·   ·  Flag as inappropriate

        Hi Elaine,

        We're starting to use this at my company and have had some feedback on the Publish Specs option from our dev team. It appears to be causing more work for them. I believe all the information is there that is necessary for them, but laid out in a way that doesn't make for a fast + seamless build.

        They think it would be useful to:
        Cut out icons, and use css syntax (aka no tracking icon, use text instead)
        Make attributes copy and paste-able
        Export CSS?
        Export HTML?

        A few changes would go a long way. I think the current build of publish specs focuses a bit too much on the design workflow rather than the code workflow.

      • JA commented  ·   ·  Flag as inappropriate

        Hi Elaine, I think there are a lot of good comments here, but the main point is that there are limitations with any third party integration, but the publish link makes more work for developers. My developers are used to slicing a PSD file (I believe that's what they do...I'm no developer) and exporting as PSD isn't an option so they had to learn XD and some integration that works on windows....when I work with my designers who work on mac osx.

        I have no doubt that as XD gets more robust it will allow developers to see the ultimate goal with sticky headers and transitions in prototype mode, but getting the html code out of XD will always be the ultimate goal and must be a much more significant amount of the effort spent in upgrading XD itself. Especially in lieu of paid third party integrations.

      • Siddharth commented  ·   ·  Flag as inappropriate

        Generate Web-Ready code

        It will be nice to get web-ready code like Muse does from XD. And if possible it will be nice if we can generate Android & iOS native apps.

      • Siddharth commented  ·   ·  Flag as inappropriate

        It will be nice to get web-ready code like Muse does from XD. And if possible it will be nice if we can generate Android & iOS native apps.

      • Wil commented  ·   ·  Flag as inappropriate

        Hi Elaine, Just adding a bit...
        Perhaps more of a generic html/css export may be useful. Since devs will be using varying approaches and frameworks, it may be more useful to give them basic html/css for asset layout and styles from which they can pull the code they need. No matter, a dev will always have to improvise but having something to start with can speed up the tweaky work. :)

      • Paul Mackinnon commented  ·   ·  Flag as inappropriate

        I mentioned this in the feature request for HTML export...

        You should provide a comprehensive extendscript API (like other Adobe Apps) but comprehensively so that developers can write some Javascript to export the data they require

        So rather than field further info on what formats to export etc, just give the power to obtain the data and let third parties develop the most requested plug-ins

      • John MacDonald commented  ·   ·  Flag as inappropriate

        As another hybrid designer/developer, I agree with Daniel Vianna's comment. Other than CSS styles for assets, I cannot imagine that code exported from Xd would be terribly helpful to a developer, particularly one who is working with a front-end framework or library and would need to map Xd's export to framework-specific structures and classes. Yet, there is a real need for a more efficient loop between design and development. Much more useful than code export would be code import. I would love to be able to import components from my code library as Xd assets!

      • Michael Reynolds commented  ·   ·  Flag as inappropriate

        Why do we always want bloatware then when becomes bloated we complain? XD is fine as is needs a few things here and there but work beautifully.

      • Chelsi Peters commented  ·   ·  Flag as inappropriate

        My company won't be able to use Adobe XD unless there is the probability of exporting to XML. This feature much like the password protect feature of sharing online prototypes is a must for it to be of any value to multidisciplinary teams. We don't need another Dreamweaver which already does CSS, html, etc. I would rather see Dreamweaver get some of the tools/features that Adobe XD has then to make XD a glorified version of Dreamweaver.

      • Anonymous commented  ·   ·  Flag as inappropriate

        look at something like zepplin or avocado or figma, this would greatly help anyone using this in the next step

      • Martin commented  ·   ·  Flag as inappropriate

        XML export would be very useful for Android Application Development

      • Alberto Quinto commented  ·   ·  Flag as inappropriate

        I think that the require is in line of your declaration @ https://theblog.adobe.com/whats-next-for-adobe-xd-cc/
        to take at first the feature of Sympli, in which it's possible to read the CSS parameters of the objects , feature present in many other Ux/Ui tools like Figma for example. It's not for programming, but for collaborate with developer.

        The second step hoply will be export css/html separated file.

      ← Previous 1

      Feedback and Knowledge Base