Skip to content

flex-wrap

Utilities for controlling whether flex items wrap onto multiple lines.

Flexbox & GridTailwind v4 Spec
ISS preview
Iced + ISS preview demonstrating flex-wrap
ISS preview for flex-wrap
use iss::{flex_tw, tw};
let tags = flex_tw(chips, tw!("w-full flex-row flex-wrap gap-2"));
Tailwind Class CSS Property / Effect iss::typed Builder
flex-nowrap flex-wrap: nowrap; .flex_nowrap()
flex-wrap flex-wrap: wrap; .flex_wrap()
flex-wrap-reverse flex-wrap: wrap-reverse; .flex_wrap_reverse()
  • Use flex_tw for multi-line wrapping; control cross-axis line packing with content-*.

flex-direction · align-content · gap