Is it possible to create templates with code components?

Hello, is it possible to create templates with code components?

what are you specifically trying to achieve?

A request from my marketing team was to have something similar like this, but with templates created by us with our code components. Instead of dragging & drop code components to build a landing page, they want to have an already built-in page, but with our existing code components. I hope it makes sense :smile:

Hi @brief_warbler - there are a few approaches here:

• You can define default slot values or alternate templates: https://docs.plasmic.app/learn/registering-code-components/#specifying-default-slot-contents and https://docs.plasmic.app/learn/registering-code-components/#multiple-templates
• You can also visually create components in a Plasmic project, including ones built out of your code components
Let me know if that helps.

I can also help directly if you have any specific example you’re wondering how to do