Skip to content

word-break

Utilities for controlling where line breaks occur inside long words.

ISS preview
Iced + ISS preview demonstrating word-break
ISS preview for word-break
use iced::widget::text;
use iss::{tw, TwExt};
let hash = text("d54cce2182654fa2565d2").tw(tw!("w-32 font-mono text-xs break-all"));
Tailwind Class CSS Property / Effect iss::typed Builder
break-normal word-break: normal; .break_normal()
break-all word-break: break-all; .break_all()
break-keep word-break: keep-all; .break_keep()

overflow-wrap · white-space · hyphens