🔲Slot
Slots are containers for anything that you want to re-use across your site, like a nav menu.
Last updated
Slots are containers for anything that you want to re-use across your site, like a nav menu.
Last updated
Slots enable you to create reusable sections on your site. Changes made to one instance of the Slot will automatically change all other instances.
Slots are most commonly used to create reusable navigations and footers, though they are helpful for any sections you want to reuse throughout your site.
Here is the process for creating and reusing Slot instances:
You can find the Slots component in the “Components Panel.”
Drag “Slot” from the Components Panel onto your canvas to create a Slot instance. Alternatively, you can add it to the currently selected instance with a click.
Add other instances from the Components Panel into the Slot instance to populate it.
Once you have a Slot on the canvas you can re-use it by simply copying and pasting it anywhere in your project.
Select your Slot instance and press Ctrl + C (for Windows) or CMD + C (for Mac).
Now, select the position where you want to insert the Slot instance and press Ctrl + V (for Windows) or CMD + V (for Mac)
And that’s it! Now updates that you make to any Slot will update all other instances of that Slot.
If you need a new unique Slot instance, simply add a new Slot from the Add panel and it will not interfere with your existing Slots.
With Slots you can re-use content across your site and sync the changes you make to them.