Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Best practices for design templates

Updated on December 13, 2022
Applicable to Theme Cosmos applications

Ensure that you build a consistent, reusable, and responsive UI by learning about best practices for using design templates.

  • When you build your UI and you identify the components that share design patterns, create design templates that you can reuse for those components.
  • Ensure that each template has a specific purpose but is general enough to allow reuse elsewhere.
  • Give each template a name that describes its purpose.
  • Balance the number of templates in your application: do not create a template for every scenario, but do not create just a few generic templates for universal reuse.
  • Ensure that each template has an icon that shows a simplified layout of the contents of the template.
  • Identify the regions of your template in which you want to place content and give them descriptive names. For example, title, image, and status.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us