How do I add a slot to a Webflow component?
Add a Slot on the main Webflow component, then drop different components into that slot on each instance.
Edit the main component. From Add panel, Structure, drag a Slot into it. Webflow creates a slot property. On an instance, drag components into that slot. Defaults set on the main component appear on new instances. Customizing one instance overrides the default for that instance only. Deleting the slot deletes its content on every instance.
Add the slot on the main component
A slot is a placeholder inside a component. Each instance can hold different components in that placeholder, while the rest of the component stays shared. A slot changes which components sit in that spot. A property changes text or an image instead.
The component guide is how you create the main component. This page starts after that component exists. Edit the main component. Open Add panel, Structure, and drag a Slot onto the canvas or into the Navigator. Webflow creates a slot property for it. You can place the slot anywhere in the component.
Rename the slot by double-clicking its name in the Navigator or at the top of the right panel, or by right-clicking it and choosing Rename. That name shows on every instance. You can add a class in the Style panel. Display settings on the slot apply to components you put inside it.
By default, a slot is a div. To change the HTML tag, select the slot and set the tag in the Settings panel. Webflow says you cannot add a slot into a regular list, a Collection list, or a link. If the drop is refused, the parent is one of those. Put the slot in a different part of the component.
You also cannot place an instance of a component inside its own slot.
Drop components into the slot on an instance
Leave the main component and select an instance on a page. Open the Components panel and drag a component into the slot. You can put more than one component in the same slot. You can nest slots: build a component that has a slot, then drag that component into another slot.
Copying a slot copies the content inside it. Deleting the slot from the main component deletes whatever was in that slot on every instance. To empty one instance, clear that instance later. Do not delete the slot on the main component to fix one page.
Example: a card component has a slot under the text. On the pricing page, the slot holds a 'Talk to us' button component. On the about page, the same card holds a 'Read the guide' button component. The card layout is edited once, on the main component. The buttons stay local to each instance.
You cannot bind a slot property to a parent slot property. If a nested component needs its own slot, add that slot inside the nested component, then place the component into the parent slot.
Set a default so new instances are not empty
An empty slot does not show what belongs there, and every new instance would need the same setup. Edit the main component and drag components into the slot. You can set their property values there, such as a button label and a link. A slot can hold several instances of the same component as the default, each with its own property values.
You can select the slot property in the Properties panel, while you are editing the main component, and click Add component under Default.
New instances include that default, including the property values you set. Later changes to the default apply to instances that still use it. An instance whose slot you already customized does not pick up those default edits. Webflow treats that customization as an override for that instance only.
Components used as the default are always allowed in the slot. The Allowed components list marks them as the default, and you cannot remove a default from that list while it is still the default content.
There is a limit on those defaults. Properties on components used as slot defaults cannot be connected to parent component properties, or to CMS fields from a parent's Collection list. Connections to global sources, such as page links, are supported.
Limit the slot, then reset or clear one instance
By default, a slot accepts any component. To restrict it, you need the Designer role or higher. The restriction applies to the Marketer role and to custom roles based on the Marketer role. Open the component from the Components panel with Open component. Select the slot, open the Settings tab, and under Allowed components click Choose components. Choose what may be dropped in, then click Save.
Marketers then see that filtered list when they use the add button on the slot, or when they open the Components panel with the slot focused. Another path, such as Command+K, shows an error if the component is not allowed. Restrictions apply from the moment you save them. A component that was already in the slot stays there and is not flagged.
To remove one component from the allowed list, click the trash icon beside it. To allow everything again, click Choose components, then Allow all.
For a marketer to change slot content on a page, the component instance needs to sit inside a page slot. A page slot and a component slot are different elements. The component slot is the placeholder you added inside the component. The page slot is the region on the page where marketers build with components.
On one instance, you can replace the default, or edit it, such as changing the default button's text. That creates the override. To put the shared default back, right-click the slot on the canvas or in the Navigator and choose Reset slot. Reset slot is only there if that instance was customized. After the reset, the slot follows future default changes again.
To leave one instance's slot empty, select the components inside the slot and press Delete. A cleared slot stays empty even when the shared default changes. Choose Reset slot when you want the default back.
In a CMS rich text field, a component shows its slot defaults, and you cannot edit that slot content inside the rich text field. Change the defaults on the main component, or place the component on the page if each item needs a different slot.
Questions & answers
I deleted the slot and the buttons disappeared on every page. Can I undo that from one page?
Deleting the slot removes its content on every instance, not on one page. Add the slot again on the main component, then put the components back.
Reset slot is missing from the right-click menu. Why?
Reset slot shows up only after that instance's slot content has been customized. An instance that still uses the shared default does not offer the reset.
A marketer cannot drop a testimonial component into the slot. What is blocking it?
The slot's Allowed components list may omit it, or the component instance may not sit inside a page slot. Marketers add components into component slots when those slots are inside a page slot.
Can I put a slot inside a Collection list or a link?
No. Webflow says you cannot add a slot into regular lists, Collection lists, or links.
Sources & further reading
Need a hand with your Webflow site?
View membership
View membership