Reference
Masonry
Its children in columns: columns, each placed under the last in its column, keeping its own height.
Masonry(columns: Number) { … }
Since 6.2.0
Shipping
Free over $50.
Returns
Thirty days, no questions. Keep the box and the receipt, and send it back from any post office.
Support
Every day, 8–8.

Gift cards
Sent by email, any amount.
Warranty
Two years on everything we make.
Example
Masonry(columns: { base: 1, sm: 2, md: 3 }) {
Card { Card.Body { Heading("Shipping").h3 Text("Free over $50.") } }
Card {
Card.Body {
Heading("Returns").h3
Text("Thirty days, no questions. Keep the box and the receipt, and send it back from any post office.")
}
}
Card { Card.Body { Heading("Support").h3 Text("Every day, 8–8.") } }
Card { Image(src: "/og.png", alt: "The WebFluent card") }
Card { Card.Body { Heading("Gift cards").h3 Text("Sent by email, any amount.") } }
Card { Card.Body { Heading("Warranty").h3 Text("Two years on everything we make.") } }
}
Two columns
Masonry(columns: 2) {
Card { Card.Body { Text("Short") } }
Card { Card.Body { Text("A card with a good deal more to say than the one beside it.") } }
Card { Card.Body { Text("Another") } }
}
Props
| Prop | Type | Unset | Meaning |
|---|---|---|---|
columns: | Number | 3 | How many columns at most (CSS |
Attribute families: global, aria, data. Plus the 22 universal props every element takes: animate:, exit:, speed:, duration:, delay:, easing:, stagger:, on:, count:, shared:, class:, ref:, drag:, dragGroup:, dropValue:, dropAxis:, dropInside:, roving:, trapFocus:, mount:, update:, cleanup:.
Flags and cases
A flag is written after the parentheses with a dot: a Bool prop, or a case of one of the element's enum props. A case the enum lacks is an error with a hint.
No flags of its own.
Events
Every element also takes the props, the events and the attribute families listed on every element.
Slots
children
Renders with the class wf-masonry, stable across releases, so a stylesheet may target it.
Codes this can raise
These controls list the props' cases; the example below shows them written.