Support for Variables and Main Components in Templates

Feature Request: Support for Variables and Main Components in Templates

Description:

I would like to propose two enhancements to templates:

1. Support for Variables in Templates: Enable the use of variables in templates to make them more dynamic and reusable. This would allow users to define placeholders or variables that can be replaced with specific values when the template is used.

2. Integration of Main Components in Templates: Allow main components to be embedded within templates, so updates to the main component propagate to all instances of the template where it is used.

Use Case:

• Variables in Templates:

• Create templates with placeholders for text, colors, or other properties that can be updated dynamically when applied to a project.

• Example: A story template where the font color, headline size, and articles font are variables that change based on the campaign.

• Main Components in Templates:

• Use templates as a framework that incorporates main components for consistent design updates.

• Example: A company-branded template that includes an animated-start-headline-with-subline-and-text-component. When this component is updated, the changes automatically reflect in all templates where this component is used.

Benefits:

1. Efficiency: Reduce the time spent customizing templates for specific use cases.

2. Consistency: Ensure that all templates adhere to design standards by leveraging main components.

3. Scalability: Make templates adaptable to different projects or scenarios without duplicating effort.

Proposed Implementation:

• Transfer the template variables to projects created from the templates, ensuring the variables are applied wherever they are used in the project.

• Enable main components to be inserted into templates and maintain their link to the original component for updates.

These features would significantly enhance the flexibility and power of templates, making them indispensable tools for dynamic and scalable design workflows.

Thank you for considering these improvements!