Place a component
This page shows you how to put a component on a page and set its values.
Add it to a page
-
Add a Component block from the inserter.

-
Choose the pattern in its box.

You can also insert the pattern from the Patterns tab of the inserter.
On the canvas, the pattern's own blocks are read-only. To change them, click Edit original, in the toolbar or in the sidebar.
Set its properties
Select the component. Its sidebar shows one field per property, with the default as a placeholder. A value you set applies to this placed component only.

Empty a field to get the default back. A toggle cannot be empty: click its Clear button.
Every field has the Data Picker's button:
- In a Text, a Link or an Expression field, it inserts dynamic data where the cursor is, so text and data mix:
By {{ user.name }},mailto:{{ user.email }}. - In the other fields, the pick replaces the value:
{{ post.thumbnail }}for an image. Empty the field to get the field of the type back.
To add your own blocks, fill its slots.
Place it in a loop
Add the component inside a Loop, then pick the current item in its fields. With {{ post.title }} as its title, you get one card per post.
Place it in another component
Add a Component block while you edit a pattern. Its fields can read that pattern's properties: {{ title }} passes the outer component's title to the inner one.
Place another pattern
Change the Pattern field in the sidebar. The values and the slots you set stay. Those the new pattern does not have show nowhere.
Detach it
Detach, in the block's menu, asks you to confirm, then replaces the component by a copy of the pattern's blocks, with the values and the slots of this page.
A detached copy no longer follows the pattern. Later changes to the pattern do not reach it. To change one page and keep the link, set its properties or fill its slots instead.
The copy leaves its properties on the page, as Variable blocks. A component placed below it reads them: where it sets no title, it shows the copy's title instead of its default. Set the value on that component.
Next steps
- Add slots: let a page add its own blocks
- HTML and limits: write a component by hand
- Patterns and the AI: have the AI place a component for you