text-overflow
Utilities for controlling how single-line overflowing text is truncated or clipped.
ISS preview

Examples
Section titled “Examples”use iced::widget::text;use iss::{tw, TwExt};
let filename = text(long_path).tw(tw!("w-48 truncate text-sm text-zinc-200"));use iss::typed::*;
let style = IssStyle::new().w(48).truncate().text_sm();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
truncate |
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; |
.truncate() |
text-ellipsis |
text-overflow: ellipsis; |
.text_ellipsis() |
text-clip |
text-overflow: clip; |
.text_clip() |
Behavior Notes
Section titled “Behavior Notes”truncatehandles single-line ellipsis truncation; useline-clamp-*for multi-line truncation.