Skip to content

hyphens

Utilities for controlling whether hyphenation is disabled, manual (­), or automatic.

ISS preview
Iced + ISS preview demonstrating hyphens
ISS preview for hyphens
use iced::widget::text;
use iss::{tw, TwExt};
let col = text(article).tw(tw!("w-56 text-sm hyphens-auto text-zinc-200"));
Tailwind Class CSS Property / Effect iss::typed Builder
hyphens-none hyphens: none; .hyphens_none()
hyphens-manual hyphens: manual; .hyphens_manual()
hyphens-auto hyphens: auto; .hyphens_auto()
  • hyphens-manual breaks on soft-hyphen characters (\u{00AD}); hyphens-auto inserts hyphens at syllable boundaries.

word-break · overflow-wrap · text-align