Jig Templates
provides a template gallery that you can use as a base when creating solutions. templates are available when creating s, adding components and widgets to a .
Using templates has many benefits, such as:
- Time Efficiency: Templates provide a pre-designed structure and layout. They can save you time by eliminating the need to start from scratch or design every aspect from the ground up. With templates, you can jumpstart your development process and focus more on customizing the specific functionality you require.
- Consistency and Best Practices: Templates ensure consistency in your project. Using templates helps maintain a uniform structure, coding style, and user experience throughout your application.
- Reduced Development Effort: Templates include pre-built features and components that are commonly required when building s. By leveraging these pre-existing elements, you can reduce the effort needed to implement standard features, allowing you to allocate more time and resources to develop unique and critical features that differentiate your app.
While templates offer numerous benefits, it's important to remember that they may not always meet your requirements. Customization is still necessary, and templates should be used as a starting point rather than a complete solution.
![Jig template Jig template](https://images.archbee.com/x7vdIDH6-ScTprfmi2XXX/X_s4ibsAS55I6mPhDPISi_templatejig.png?format=webp)
Jig templates either use Static Data or Dynamic Data. You can easily customize the template to use other datasources instead.
![Jig template option Jig template option](https://images.archbee.com/x7vdIDH6-ScTprfmi2XXX/GoeoJRsy4pw59kUTSl5Tv_templatesjigcode.png?format=webp)
- Once you have chosen a template, hover over the template, there are two options:
1. Insert
![Template Insert jig Template Insert jig](https://archbee-image-uploads.s3.amazonaws.com/x7vdIDH6-ScTprfmi2XXX/G9FpoCJ94Zfim3LcYjnZd_t-insert.gif)
- Check the YAML code for comments that specify additional steps you must take on the template, such as #Create new table invoices in databases/default.jigx. Here you will manually need to add the table to the default.jigx file under the database folder.
2. Configure
![Template Configure jig Template Configure jig](https://archbee-image-uploads.s3.amazonaws.com/x7vdIDH6-ScTprfmi2XXX/yD3-Ltvoz-MPpTWaSml9v_t-configure.gif)
- Click the blue Configure button.
- Check the YAML code for comments that specify additional steps you must take on the template, such as #Create new table invoices in databases/default.jigx. Here, you will manually need to add the table to the default.jigx file under the database folder.
- ThejigId and size are automatically added to the index.jigx file with the size you selected in the template's widget screen configuration.
You can use the scenario templates to create a functioning solution. For example insert the Content management scenario template and publish out the solution to the app. The scenario includes four s and adds the contacts table.
![Scenario templates Scenario templates](https://images.archbee.com/x7vdIDH6-ScTprfmi2XXX/RCSQgz3TqyiydLH0ibmBS_t-scenario.png?format=webp)
![Doc contributor](https://s3.amazonaws.com/archbee-animals/rabbit.png)