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

Masonary Component Required #48842

Open
lalittolani opened this issue May 9, 2024 · 3 comments · May be fixed by #48870
Open

Masonary Component Required #48842

lalittolani opened this issue May 9, 2024 · 3 comments · May be fixed by #48870

Comments

@lalittolani
Copy link

What problem does this feature solve?

I was looking for Masonry Component just like Material UI (https://mui.com/material-ui/react-masonry/) . Although It can be done with Flex and Grid but it will ease the coding if we have masonry just like Pinterest use and we have Material UI as an example for Masonry

What does the proposed API look like?

Props

  1. children : The content of the component.
  2. columns : Number of columns.
  3. spacing: Defines the space between children.
  4. sequential: Allows using sequential order rather than adding to shortest column
@zombieJ
Copy link
Member

zombieJ commented May 9, 2024

Seems can be a feature of Flex component.

@SnowingFox
Copy link
Contributor

Seems can be a feature of Flex component.

I'd like to perfect this component

@SnowingFox SnowingFox linked a pull request May 10, 2024 that will close this issue
20 tasks
@netojose
Copy link

I could to have this using this package: https://www.npmjs.com/package/react-responsive-masonry

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

Successfully merging a pull request may close this issue.

4 participants