Re-use content using Templates
In this tutorial, you will learn how to re-use prototype components and styles in your web and mobile prototypes with the help of Templates. They will make it quicker and easier to apply your corporate image and be more consistent with your corporate design.
Templates are indeed a very useful tool for creating prototypes quickly and apply global changes to them, as they centralize the content and the interactions shared by several screens. They also set default styles (colors, border types, fonts, etc.) for all the prototype’s components.
The Templates tab contains all the templates of a prototype: you can click on any of them to access its content and work on it as if on a screen. The widgets and the events that you include in a template are shared among all the screens that use that specific template.
To create a template, click on the “+” button in the Templates tab. To assign it to a screen, click on that screen in the list of screens, go to the Properties tab and change it there.
You can set a template as the default one by right clicking on it and selecting the relevant option. Keep in mind that the default template is applied to all new screens.
You can define the widgets default styles with templates. Just right click on the template and select ‘Edit Template Style’.
Alternatively, choose a widget in the screen, go to the Properties tab, click on the arrow at the top right of that tab, and select ‘Set as default style for this widget’.