Truncated clips longer text with an ellipsis and provides an accessible tooltip that displays on truncation.
Text component and inherits its typography props (size, weight, color, family, style, and predefined text style props) — set these directly on Truncated.tooltip to override the tooltip with plain text — use this when the children include a Link or other markup, so the overlay repeats the value as plain text instead of a duplicate interactive element.tooltipPlacement ('bottom' is the default).
'bottom' for values in a table row or list.'top' to keep the overlay clear of content below, like a subtitle or row of actions.'left' to keep the overlay clear of content to the right, like a trailing action or badge.'right' to keep the overlay clear of content to the left, like a leading icon or avatar.children (React) or the default block (Ember, via {{yield}}) — this is both the visible text and the tooltip's default content when tooltip is unset.tooltip only accepts a string — it cannot hold a node or markup, matching the plain-text-only rule for custom tooltip content.tooltipPlacement accepts any floating-ui Placement value (e.g. 'top-start', 'bottom-end'), not just the four cardinal directions shown in the design doc.as (default 'span') since it wraps Text — pass a different element when the surrounding markup requires it.offsetWidth to its scrollWidth in both frameworks — this is the mechanism behind the tooltip only opening on actual overflow.