Skip to content

Trying to implement masonry layout in Flex #3979

Discussion options

You must be logged in to vote

Hi @srgupta-twilio,

Thanks for reaching out. Looking at what you are trying to achieve you can do that currently by nesting Grid and Column components noted in our docs here. You will not need to use masonry grid, it has a great use case for components variably spanning columns but is not required for your use case (correct me if I'm wrong).

I have created an example for you and your developers for how you can achieve this. Note, for default responsiveness using columns of 3 > 2 columns will not wrap nicely (as shown in default example). You will see in the example the whole third column is added to the first and you still see the card spacing issue. If you are using fixed column spans th…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@srgupta-twilio
Comment options

Answer selected by srgupta-twilio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants