WIP: Bricks 2.0 Alpha: Nested component properties not shown on instance

Browser: Chrome 135.0.7049.96
OS: macOS Sequoia 15.3.2

I’ve created a nested component and was hoping the properties of the nested component are carried through to the parent component. But this seems not the case. Also creating the properties again on the parent and assign them to the nested instance is not possible. This limits the usecase of nested components quite significant.

Parent Component Properties:

Nested Component Instance:

Parent Component Instance:


Only properties of parent component are shown.

6 Likes

Hi @davidfrx,

Thank you for the report. I have moved this to the “Improvements” category and have shared this internally with the team to discuss what would be the best way to provide control over nested component properties when editing a parent component instance.

2 Likes

For me, this task is also one of the most important, so that you can make the best possible use of the nested components.

2 Likes

@charaf Could you please provide an update on this topic?

We are heading in to multiple, large site builds which will utilize several dozen components in Bricks. How we handle component structure hinges on whether this item is addressed or not. Thank you

The properties should not automatically be exposed to the parent component. However, even in Bricks 2.0 RC you can’t pass a property value to a sub-component.

That is a must have and basic functionality.

1 Like

Hi everyone,

We have added this to our list of planned improvements. We will evaluate whether it is better to automatically “bubble up” the properties of nested components, or to provide a way for passing parent component property values as parameters to nested components.

4 Likes

It doesn’t make much sense to bubble up properties automatically and bloat all parent components, whenever I change a single component.

What makes sense is a one-click solution to expose a sub-component property as property of the current component.

4 Likes

I don’t even think that’s necessary, just let us assign parent properties to the sub component property fields. I was legitimately surprised that I wasn’t able to.

2 Likes

Exactly, production ready is an interesting term here. It means we won’t break your stuff, but you’ll not be able to use basic functionality.

1 Like

Without being able to link parent properties to a child component the nested components feature is kinda “useless”. Was just going to update our sites with the release of 2.0 - merged the global elements and everything else that made sense into componentens, wanted to create the first “card” component with a child component and was “shocked” i couldnt assign a parent property to the child so i had to create the “main” component 3x now to cover the different cases

This “improvement” should be really high prio imo

2 Likes

it would help a lot if the component properties are defined as a dynamic tag, in case you want to use them in Code blocks or have a text that is partially dynamic

1 Like

I am open to any sane solution but needing this “yesterday” (literally haha :smile:).

Thanks team for coming up with something great! “Watching” this thread. :bell:

2 Likes

No to “bubble up”… yes to “scoped components”. Scoping will also future-proof further dev.

Example… I have 4 components on the page (say a dashboard), with a button on the page that I want to ‘trigger’ something in a specific component. If any of these components, or even worse, nested components, share same IDs / classes… this will be a mess to handle… and even worse if one has to revisit months later.
Scoping would make every instance, even nested instances… ‘unique’.

I recently discovered Bricks after two years of building websites with Elementor, and I’m genuinely impressed! Personally, it just needs that one essential feature before I can start using it daily for my clients’ websites. I’ll be following this topic closely, and I’m ready to purchase Bricks as soon as this feature is released!

I found this in the “Submit your ideas” section :

> It should be possible to create components where any internal element that could be nested is exposed as nested (“[x] Act as a slot” toggle). So that way, you can create component instances that external elements can populate.

@charaf is an update for this issue going to be released soon?

2 Likes