Space Component & more layout components #1084
Replies: 2 comments 7 replies
-
Hey @cdedreuille ! Excited that you are jumping into the discussions! This is a really interesting compositional component recommendation. Just to make sure I'm understanding correctly is it basically just adding margins to the children? We want to create some more compositional components for Evergreen, and are working on figuring out the right way to introduce them into the library. As we figure out the way we want to handle those, we will keep you updated for sure! |
Beta Was this translation helpful? Give feedback.
-
Also just wanted to note something here worth considering. We have a What i mean by that is:
so from an api perspective, perhaps accepting a "isSuspsenseList" prop, but that falls through around suspenselist props passing. Another way, is to check that if the first and only child is a SuspenseList, to instead look inside it's children to wrap in a div. Or opt for a "Stack" / "StackItem" component tuple. I'm no expert, just wanted to voice how its super tricky to Suspend children when stack wraps children. Unless you have a pure CSS solution that is. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
Pretty excited to start new discussions here on Github. I've just introduced Evergreen to one of my project and its simplicity is everything I needed. I know you're working on better theming in V6 but I though I'll share one of the component I miss the most.
<Space />
or<Stack /> + <Inline />
I created a custom one for my app and this is perhaps the one I use the most.
I use it with these props:
This could be really amazing and helpful to bring something like this to Evergreen.
✌️
Beta Was this translation helpful? Give feedback.
All reactions