We’re excited to share that reusable elements now come with customizable properties, making it so that a single reusable element can be repurposed in many ways. With this added flexibility, your library will be easier to maintain — you may even notice opportunities to consolidate some of your existing reusable elements!
Instead of having a fixed data type attached to your reusable element, you can set up properties to assign dynamic data, including page-level data. You can set up as many properties as you need, each with individual data types.
Once your reusable element is placed on the canvas, you can specify the value of any parameters or customizable properties with page-level data so that the reusable element is contextually aware.
For example, if you want to make a reusable card for an event listings page, in some cases you might want the card to show information for a vendor, while in other cases, you might want it to show information about a venue. Instead of creating two distinct reusable cards, you can now create one and customize the properties on each instance of the reusable element.
This is one of many improvements on our product roadmap focused on making it easier to manage apps as they scale in size and complexity. We’re excited to hear how you incorporate reusable element properties into your apps and any feedback you have. Thanks so much!