This example shows a long string being truncated as the component meets the edge of a flex formatting context. Inline Copy features an inline-flex container and does not wrap over multiple lines, and instead handles overflow content gracefully with an ellipsis.

Code