A masonry layout for React that keeps source order: a CSS grid with measured row spans, so keyboard and screen reader order match the visual flow.
npx shadcn@latest add @minidev/masonry-grid
masonry-grid