Component State Export
This is listed as implemented/completed but it is not. My second "State" of one of my components had to be 'ungrouped' from component for it to show up in the developer's assets view.
This feature is now available in the latest version of XD released this week! Make sure to republish your design specs to access this feature on the web.
-
Thomas Hallgren commented
Elaine is correct. The feature is implemented.
Note, This only works with Batch Export feature, not Export Selection.
-
Franck Payen commented
Hey there.
follow up to a (not so) long closed feature request :
https://adobexd.uservoice.com/forums/353007-adobe-xd-feature-requests/suggestions/38978644-component-states-to-development-design-specsElaine (Adobe) (Product Manager, Adobe) a répondu · 20 octobre 2020
This is now available for you in today’s release of XD 34. You will need to re-publish your design specs to access component states.So YES, my dev can download the SVG file from a component.
YES, he can inspect component states (to try them).
But NO, he cannot download the component's full SVG (with states) OR each state's SVGThis would be VERY helpful to handoff animation states.
Main idea behind was building the animation states in XD, with auto-transition, and then let some anim/dev magic work to get an .hover svg file like
https://codepen.io/fr32c/pen/vYxWxjb -
Bartolomeo D'Alia commented
Actually if i create a complex component with multiple states, even i i mark layers for export in all states, developers are able to download only layers of the component state active at the moment of the share (all other state's marked layers are ignored).
This is actually a meaningful limitation, because developers cannot donwload all assets they need. I must manually create additional screen with all compomnent states, this is very annoying...
-
Anonymous commented
Have the ability to mark for export each different state of a component rather than just "Default State"
-
Amy commented
I am only able get one state of the component to export. I am seeing that whatever is the bottom-most layer is the only one that creates the download link when publishing the share link for development. However, when I publish the count of downloadable assets says all the states are getting exported even though they are not.
-
Amy commented
I am only able get one state of the component to export. I am seeing that whatever is the bottom-most layer is the only one that creates the download link when publishing the share link for development. However, when I publish the count of downloadable assets says all the states are getting exported even though they are not.