Chuyển tới nội dung chính
Phiên bản: 1.12.0

Cluster

import { Cluster } from "zmp-ui";

Dùng để nhóm các phần tử lại với khả năng kiểm soát khoảng cách lề giữa chúng.

Ví dụ

Bảng thuộc tính

NameTypeDefaultDescription
alignAlignItemsEnumflex-start

The align-items value (for vertical alignment)

childrenReact.ReactNode

ReactNode

justifyJustifyContentEnumflex-start

The justify-content value (for horizontal alignment)

spacestringvar(--s1)

The space (margin) between each of the clustered elements