react-plock icon indicating copy to clipboard operation
react-plock copied to clipboard

The 1kB Masonry Grid for React.

Results 11 react-plock issues
Sort by recently updated
recently updated
newest added

I get this error using nextJs: ``` Error [ERR_MODULE_NOT_FOUND]: Cannot find module '~/node_modules/react/jsx-runtime' imported from ~/node_modules/react-plock/index.js Did you mean to import react/jsx-runtime.js? ```

Possible steps to reproduce, 1. Add an onClick event on the items to update URL search params. 2. The click event is not working sometimes, It's not consistent though. 3....

I wonder if it would be possible to add the ability to use different gap values using the same "breakpoint" method as the columns?

This is a great lightweight package. But the package is currently set a default `columns` and `gap` to 1, which on Next.js it results to flickering on initial render. `const...

Hi, Thank you for this fantastic library. Are we able to plock images in rows?

Hello, is it possible to get the real index in the render ? ``` const items = [...imageUrls]; return ( ( )} /> ); ``` Here idx is the number...

Is any plans to support different column width? Like: `| 25% | 50% | 25% |` Same as @desandro did in his masonry library https://github.com/desandro/masonry. https://masonry.desandro.com/layout

When using the Masonry plugin, longer elements disrupt the optimal column layout, causing smaller elements following them to not align correctly. This issue impacts the visual consistency and balance of...

hi i'm using your library very well thank you! :) what about adding alternative element instead of “div” for semantic tagging? for example, in the config object be like ```js...