Masonry API
View componentThe full prop reference for the Masonry component. A masonry-style column layout.
Import
tsx
import { Masonry } from '@structyl/styled';Props
Masonry
Column masonry layout.
| Prop | Type | Default |
|---|---|---|
| columns# | 1 | 2 | 3 | 4 | 5 | 6Column count. | 3 |
| spacing# | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8Column/item spacing. | 4 |
| className# | stringAdditional Tailwind classes merged with the component defaults. | — |
Source code
If you didn't find what you need here, read the component implementation .