312
Dynamic Zone in Components
A
Alexandre Retourne
It could be great to add context or let the users create their contents with little constraints. For example, a grid could have differents components inside like download cards or profile cards. Making a grid component for each variation is not optimal so it would make the UI clearer with fewer components. Lastly, the front-end developer could develop a component manager from front-end and it would manage all content to build the website like legos. The developer would maintain the content builder from strapi POV and the users can immediately use the news components or make change on already launched content.
Bartosz Wolski
I must say I was very surprised this feature is not available as it seems basic and something that almost everyone would use sooner or later. I hope it will be given top priority as right now only ugly workarounds works.
M
Matthias Hansen
Is there any updates on this? This is the only feature that prevents us from using Strapi. This is a much needed feature that many users need for general purposes.
J
James Seabrook
Has anyone managed to create this themselves in a plugin or custom field they could possibly share? This is a must have feature for our guys as well.
Q
Quentin Henaut
James Seabrook:
I ' have a solution for v4.2: https://github.com/HNTQ/strapi-dynamic-zone/tree/feat/handle-dynamic-zone-in-components
But, due to security issue, don't use it. https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve
I'll work to a solution for latest version as soon as possible. i'll let you know.
There is a partial solution for v4.6 using my update for 4.2 but i can't find it...
Boegie19
Quentin Henaut: Nice work on that I think if you open a RFC you mind be able to get something like this in the main strapi under an experimental flag https://github.com/strapi/rfcs/pulls
this feture is mostly not being added for 2 reasons 1 performance implications (so it should always be under a flag)
and 2 strapi is currently prioritizing other features
so if somone wanted to do the work of going trough a RFC and implmenting it strapi mind accept it
Emil Gonzalez
For those of us who come from wordpress, the gutenberg blocks option allows us to create a type of pattern component, that is, a grid component is nothing more than a layout capable of hosting a component, perhaps if a common component is differentiated from a component As a pattern, the infinite loop could be solved.
Emil Gonzalez
Nesting of components at more than two levels and dynamic components within components are the two issues that are forcing me to change strapi.
Boegie19
Emil Gonzalez: going more then 2 levels deep with components is possible trough the files but not trough the admin since it is not supported by strapi because of the performance issues going to deep would cause about the dymanic zones in components what would that change since strapi will for the time being not allow dynamic zones in dynamic zones since the complexity and performance cost would be to high
Emil Gonzalez
Boegie19: Yes, that's how I'm solving it, but for example I have a component with the name "Hero" which can have in its lower part, a countdown, a phrase, a call to action, etc. And currently I can't solve it in any other way than with a dynamic zone in the component.
M
MGRV
Boegie19: if wordpress can do it. strapi can do it. They just dont care
M
MGRV
It is now April 2023 and and it seems like this is going nowhere. A lot of us are really heart broken over this.
levente opelcz
Having some kind of grid / layout builder inside strapi for the front end I think would be essential too! That in a perfect world - might not be viable - would also layout the grid inside the admin as how it would look like on the FE side. - Responsiveness might make this hard and that you have a big left bar, etc. -
Kim Martini
Is there a new Update on this? Waiting now over a year for that feature.
Most clients I propose Strapi, decline and decide on old school Typo3 or Wordpress, because of this missing feature. They are used to work with columns/grids like 6/6, 4/8 and so on. So it comes to their surprise when I show demos of Strapi, and it's impossible to build their Page/Post with columns.
B
Brianfbento
Marco Autiero Almost 260 upvotes on this one. Any news on the possibility of this coming to Strapi?
M
MGRV
Brianfbento: It hurts to see its still not here
Boegie19
Brianfbento: dymanic zones in components what would that change since strapi will for the time being not allow dynamic zones in dynamic zones since the complexity and performance cost would be to high
Kayode Okusanya
Kindly please work on this feature. This really helps with dynamic creation and flexibility with endusers using the content structure. For example. I want to create a page. On a page there are multiple sections. Let us say section 1 is a hero page. But we would like the hero page to have multiple different templates. This opens the door of design flexibility as well as allows users to choose what template they would like to use. Right now the way I have it is very complex and user experience sucks. Please lets get some traction on this feature.

Load More
→