Skip to main content
Participant
Sep 29, 2021 4:43 AM UTC
Question

Toggle component state across all artboards

I'm new to XD so this is a "does this feature exist" question: Is it possible to trigger a component to change state on all artboards while in the "play" mode?

 

I'm working on an agricultural app wherein a user may or may not have a baling session running. When they click the button to start/end a session, I'd like to simply change an icon in the header to reflect that state. Actually, I'd probably want to toggle the state at the same time as jumping to another artboard.

 

At present, it's looking like I have to duplicate every single artboard the icon appears on in order to do that but… that can't be right. Can it? If that's how it works, it would quickly lead to exponential growth in the number of artboards.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Spas K.
Community Expert
Community Expert
Sep 29, 2021 8:03 AM UTC

Hey there. Unfortunately, you're correct. Xd can't remember a state switch between artboads. It doesn't keep data, for now at least. If that button doesn't affect the artboards in any way, I suggest just leaving it as a toggle option, and not creating a duplicate for all artboards for only that small element.

 

I've had a bit more complicated case, a platform with 2 types of users that had slightly different elements on page, and I did have to make 2 separate flows with all artboards, showing the differences. With proper organization and components, it shouldn't take too much time to set up, although if you have to do it for 40 artboards, it wouldn't be great for the performance.

 

There are a couple of feature requests you can upvote and keep track on uservoice:

https://adobexd.uservoice.com/forums/353007-adobe-xd-feature-requests/suggestions/13040145-logic-in-prototyping-conditional-behavior-branc

https://adobexd.uservoice.com/forums/353007-adobe-xd-feature-requests/suggestions/38959297-allow-components-event-to-change-states-of-other-c

 

When (or if) we'll get them is up to the dev team's priorities.

 

 

Translate
Participant
Sep 30, 2021 12:40 AM UTC

Thanks for the prompt reply, I went and voted on those two.

 

So far my impressions of XD are equally balanced between "Oh cool, they made that easy!" and "…really? You really can't do that? THAT?".

Translate
Spas K.
Community Expert
Community Expert
Sep 30, 2021 10:04 AM UTC

Yeah, it's very well suited for wireframing, flows and simpler apps, but it falls short if you want to do a full-fledged high-fidelity prototype for tens of screens, and especially for desktop web design. Definitely has a long way to go.

Translate