Add slots
This page shows you how to add a slot to a component, and how to fill it on a page.
You need a component, or any synced pattern.
Add a slot
-
Open the synced pattern in the editor.
-
Add a Slot block where the page's blocks should go.

-
Give it a name in the sidebar, such as
actions. -
Add blocks inside it if you want a default.

The blocks inside a slot are its default. They show on every page that does not fill the slot. A page cannot fill a slot that has no name.
The Component panel, in the Pattern tab of the sidebar, lists the pattern's slots under its properties. There you can rename a slot, or click Select to go to its block.
The Slot block is listed in the inserter only while you edit a synced pattern.
Fill a slot
- On a page, select the component. Its slots are outlined on the canvas, each with its name. A slot that holds nothing has no outline.
- In the sidebar, under Slots, click Customize beside the slot. The slot gets a copy of its default content.
- Change these blocks in place, on the canvas.

The blocks belong to the page. They are styled and edited as any other block.
Go back to the default
Click Reset beside the slot. It removes the page's blocks, and the pattern's default shows again. It asks you to confirm when the slot holds blocks.
A slot you fill and then leave empty shows nothing, not the default.
Renaming a slot does not update the pages that fill it. They keep the old name. Rename a slot before a page fills it, or update the pages yourself.
In the HTML panel
In the pattern, a slot is a {% block %}:
<article class="card">
<h3>{{ title }}</h3>
{% block actions %}
<a href="/contact">Contact us</a>
{% endblock %}
</article>
Next steps
- Place a component: put it on a page and set its values
- HTML and limits: how a filled slot is written on a page