For AI agents: the complete documentation index is available at https://rickyshin93.github.io/tao-ui/llms.txt, the full documentation bundle is available at https://rickyshin93.github.io/tao-ui/llms-full.txt, and this page is available as Markdown at https://rickyshin93.github.io/tao-ui/components/masonry.md.
v0.0.57
  • English
  • Masonry

    Data Display@rockshin/tao-ui

    Arranges cards of different heights into balanced columns.

    This native tao-ui component follows the public API of Ant Design 6.7.0. Appearance, theme tokens and Semantic DOM customization belong to tao-ui; configure themes with TaoProvider.

    The 6.7.0 items/itemRender contract supports responsive columns and fresh resize tracking. Layout uses native positioning; DOM order remains the input order.

    When to use

    Use for galleries or varied content cards where row alignment is unnecessary.

    Examples

    Balanced columns

    Tile 1
    Tile 2
    Tile 3
    Tile 4
    Tile 5
    Tile 6
    TSX

    Responsive columns and gutters

    390 × 640
    TSX

    Assign a column

    Tile 1
    Tile 2
    Tile 3
    Tile 4
    Tile 5
    Tile 6
    TSX

    Track changing content heights

    390 × 640
    TSX

    Reorder and inspect layout

    Tile 1
    Tile 2
    Tile 3
    Tile 4
    Tile 5
    Tile 6

    Item → column:

    TSX

    API

    Masonry

    PropertyDescriptionTypeDefault Value