Use component properties to create unique instances of recurring components.
Component properties let you define specific elements within a component that can be modified with unique values on a component instance.
This is great for recurring layout patterns whose structure should be uniform but have unique content in each instance. Or, you might want to slightly adjust the structure by hiding or showing specific elements in different component instances.
Note
If your component has the exact same content in each instance (like
navbars, footers, and some forms), you don’t need to create component
properties for that component’s elements.
Supported properties
Supported component properties include:
Content properties
Content properties allow you to customize your element content in a component instance. For example, let’s say you have a hero section design that you want to use in multiple pages across your site. The design structure should remain the same, but you need different paragraph content in each component instance. You can create a component property for your paragraph and modify that paragraph content anywhere the hero section appears on your site.
Supported property types include:
Text (e.g., on paragraphs, headings, etc.)
Rich text
Image
Link (e.g., on buttons and link blocks)
Video
Number
- Switch
Controlling visibility
You can create layout variations across component instances by showing or hiding specific elements.
For example, you can:
show or hide links or buttons in a navbar component
show or hide different icons in a button component
create section variations by showing or hiding groups of elements like images, videos, buttons, and links
To control visibility per component instance, create a switch prop and use it to toggle elements on or off.
Note
Switch props let you show or hide elements manually per component instance. If you want elements to show or hide automatically based on data — such as component properties, CMS fields, or current locale — use conditionals instead.
You can locate hidden elements in components by expanding the component hierarchy in the Navigator panel. Hidden elements are indicated with a “struck-through eye” icon.
Good to know
Elements set to “hidden” are removed from the Document Object Model
(DOM) order. Because the DOM order specifies the logical structure
of sites and the way they’re accessed and manipulated, this means
hidden component elements won’t be read by assistive technologies,
and promotes a more accessible experience for your site visitors.
It also eliminates repeated content and doesn’t negatively affect
SEO.
Collection list properties
You can connect Collection list settings (e.g., filters, sort order, pagination, display limits, or curated items) to component properties to display unique content in an instance of a Collection list component.
For example, you could create a carousel of blog posts with a uniform design that displays recent posts on one page and related posts on another.
You can also use CMS data in the component properties you create and connect to Collection lists.
How to create component properties
To modify property values for component instances, you’ll first need to create component properties on the main component. You can then override these main component properties to create custom content on different component instances.
You can create a new property on the main component and concurrently connect that property to a specific element within your component. Alternatively, you can create component properties directly on the main component and connect them to elements later.
If suggested properties are available, you can also create multiple properties automatically when creating a new component or editing an existing component.
Good to know
Suggested props are automatically generated property suggestions that let you create and connect multiple properties at once.
Create properties automatically with suggested props
When you create a new component — or edit an existing component that includes supported elements not yet connected to a property — Webflow provides suggested props automatically. You can review the suggestions, rename each prop, and deselect any you don’t want. This lets you create and connect multiple properties at once.
Create properties from suggested props when creating a new component
To create properties from suggested props:
Select the element you want to turn into a component
Open the Components panel, Style panel, or Element settings panel
Click the “create component” icon at the top of the panel
Give your component a name and optional description
Click the “expand” icon next to the number of suggested props to review them individually
(Optional) Rename suggested props by clicking the “pencil” icon
(Optional) Deselect any suggested props you don’t want to create
Click Create
After you create the component, Webflow creates and connects the selected properties automatically.
Create properties from suggested props when editing an existing component
Suggested props appear at the top of the Properties panel when Webflow finds supported elements in the component that aren’t connected to properties, and in Element settings when you select an element with suggested props.
If suggested props are available, you can review them, and create and connect multiple properties at once.
To create properties from suggested props:
Double-click a component instance to edit the main component
Click the “Properties” icon in the left toolbar or press K on your keyboard to open the Properties panel
If suggested props are available, click Review to view the full list of suggested props
(Optional) Rename a suggested prop by clicking the “pencil” icon
(Optional) Deselect any suggested props you don’t want to create
Click Create
After you click Create, Webflow creates and connects the selected properties automatically.
Create and connect component properties manually
You can create a new property on the main component and connect that property directly to a specific element within your component. To create a new property and connect it to an element:
Locate the component that contains the element you want to modify
Double-click the component instance to edit the main component
Select the element for which you want to create a component property
Go to the Element settings panel
Click the purple “dot” icon next to the value for which you’d like to create a property (e.g., visibility, text, link, etc.)
Click Create [Name] property
Define the property’s default values (e.g., name the property and add text content, set the image, toggle the visibility, etc.)
Click Create
Create properties manually from the Properties panel
To create a component property in a main component from the Properties panel:
Locate the component that contains the element you want to modify
Double-click the component instance to edit the main component
Click the “Properties” icon in the left toolbar or press K on your keyboard to open the Properties panel
Click the “plus” icon to create a new property
Choose the property type from the menu
Define the property’s default values (e.g., name the property and add text content, set the image, toggle the visibility, assign or create a group, etc.)
Click off the menu or press Return on your keyboard to create the property
Then, to connect a property to an element:
- Locate the component that contains the element you want to modify
- Double-click the component instance to edit the main component
- Select the element to which you want to connect a component property
- Go to Element settings panel
- Click the purple “dot” icon next to the value for which you’d like to create a property (e.g., visibility, text, etc.)
- Choose the component property you want to connect to the selected element from the dropdown
Note
Your new property will be disconnected until you connect a component
element to it.
Create, edit, and delete property groups
You can create and assign property groups when you create a property. To edit a group name, go to the Props panel, click the “more options” dots next to the group name you want to edit, and click Rename.
To delete a group, go to the Props panel, click the “more options” dots next to the group name you want to edit, and click Ungroup. Note that deleting a group name doesn’t delete the props inside the group.
How to add a tooltip to properties
More complex properties — like properties connected to custom attributes — may benefit from additional information for your teammates. You can add a tooltip with a helpful description from the Props panel when you create or edit a property. This tooltip will appear on the Props panel for each component instance.
How to modify property values on component instances
After you’ve created a property, exit the main component to go back to the individual component instance. There, you can modify component property values to customize your content or visibility on the instance (i.e., create unique content for a specific element in the component instance).
You can modify your component instances in two ways:
Learn about the differences between static and dynamic content.
Modify properties with static values
The quickest way to edit static content in component properties is to:
- Locate the component instance that contains the element whose values you want to modify
- Go to the right panel
- Modify the element’s property values (e.g., update the text, replace an image, set the visibility, etc.)
You can also edit the value for an element in the selected component instance right on the canvas. Click the component, then double-click the element you want to edit within the component instance. Elements connected to component properties are indicated with a dotted green outline on the canvas within the component instance.
To revert component properties to their default values, you can choose to reset all properties at once, or reset them individually.
To reset all properties to their default values at once:
- Select the component instance on the canvas
- Go to the component instance’s right panel
- Click the “more options” dots in the upper-right corner
- Choose Reset all properties
To reset a single property to its default value:
- Locate the component instance that contains the element whose value you want to reset
- Select the element on the canvas
- Go to the right panel
- Click the component property’s name
- Click Reset to default property value
Connect properties to CMS data
To reuse layouts across different Collection pages, while preserving a consistent design, you can also connect and display Collection data in your component instances without needing to unlink from the main component.
You can connect properties to the following Collection fields:
- Date / Time
- Plain text
- Email
- Phone
- Video link
- Link
- Option
- Number
- Image
- Rich text
- File
- Reference
Keep in mind that you must have already created a Collection in order to connect component properties to the Collection field data.
To connect a component property to CMS Collection data on a Collection page:
- Open the page that contains your component
- Double-click the component instance to edit the main component
-
Create component properties if properties don’t already exist for the elements you want to connect them to
- Select the element you want to connect to your Collection data
- Go to Element settings panel
- Click the purple “dot” icon next to the value for which you’d like to connect a component property (e.g., text, image, visibility, etc.)
- Choose the component property you want to connect to the selected element from the dropdown
- Exit the main component by clicking the “back” arrow at the upper-left corner of the Designer or pressing Esc on your keyboard
- Select the element you want to connect to your Collection data
- Go to the right panel
- Click the purple “dot” icon next to the component property’s modifiable content (e.g., text, image, visibility, etc.)
- Choose the Collection field from the menu (e.g., Name, Published on, Thumbnail image, etc.)
The component instance will now display the selected Collection field’s content (as long as the Collection field is populated with data in your Collection).
To disconnect an element from a Collection field:
- Open Pages panel > CMS Collection pages and choose the page that contains your component
- Select the component element you want to disconnect
- Go to the right panel
- Click the property’s purple menu
- Click Disconnect property
How to reorder, delete, and disconnect component properties
To manage a component’s properties, enter the main component. In the Props panel, you can find a list of the main component’s properties and determine their element connections, adjust their default settings and values, and reorder or delete properties.
Reorder properties
By default, component properties appear in the Props panel in the order in which they were created. You can click and drag properties to reorder them however you want.
Delete properties
To delete a property in a main component, go to the main component, then go to the Props panel, and click the “trash” icon. If the property is still connected to one or multiple component element(s), deleting it will disconnect it from the component element(s). Any content in a connected property will be lost upon property deletion and will be replaced with the default value you’ve set.
Delete and reconnect elements to previously set component properties
If you delete an element from the main component, each corresponding element in other component instances will also be deleted (even if they’ve been modified with unique content via component properties). However, component properties and their applied values will still remain for each instance (even if the element originally connected to that property has been deleted).
You can then connect new or existing elements to those properties. Those elements will then reflect the values applied to the previously set properties (e.g., updated text content, images, visibility, etc.).
Note
Your new property will be disconnected until you connect a component
element to it.
Disconnect properties
You can disconnect properties in the Properties panel when editing the main component. To disconnect a property from a component element:
Locate the component that contains the element from which you want to disconnect a property
Double-click the component instance to edit the main component
Click the “Properties” icon in the left toolbar or press K on your keyboard to open the Properties panel
Click the property’s name that you want to disconnect
Click the name of the element it’s connected to
Click the element’s purple dropdown menu under its settings and choose Disconnect property
Note
If your property is connected to multiple elements, you’ll need to
repeat the disconnecting process for each connected element.