columns
Utilities for laying out children into multi-column masonry flows with fixed counts or ideal column widths.
ISS preview

Examples
Section titled “Examples”use iss::{columns_tw, tw};
let masonry = columns_tw(cards, tw!("columns-3 gap-4"));use iss::typed::*;
let masonry = columns_tw(cards, IssStyle::new().columns(3).gap(4));Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
columns-1 .. columns-12 |
columns: 1 .. 12; |
.columns(3) |
columns-auto |
columns: auto; |
.columns_auto() |
columns-3xs .. columns-7xl |
columns: 16rem .. 80rem; |
.columns_xs() |
columns-[140px] |
columns: 140px; |
.columns_width(140) |
Behavior Notes
Section titled “Behavior Notes”- Use
columns_tw(children, style)to flow children into balanced multi-column tracks. - Use
gap-*for horizontal column gutters and childmb-*margins for vertical spacing inside each column.