Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow nesting non-component blocks inside components #100

Open
batonac opened this issue Mar 8, 2024 · 1 comment
Open

feat: allow nesting non-component blocks inside components #100

batonac opened this issue Mar 8, 2024 · 1 comment

Comments

@batonac
Copy link

batonac commented Mar 8, 2024

The way components work in Builder is growing on me... I appreciate the idea that nested blocks within a component can have their properties overridden at any level individually in every iteration of that component.

What would make this all that much more useful would be the ability to nest non-component blocks inside any component object where that object supports children.

For example, we could create a default content container as a div with a max width, padding, etc, and then use that "Container" component every time we need to contain content at a consistent width throughout the site. This could provide a functional alternative to global classes, where any further design updates could be assigned to the component and would push out across the site from there.

@batonac
Copy link
Author

batonac commented Mar 8, 2024

I just realized that components don't sync automatically, so that does dampen my enthusiasm for this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant