DefaultTypographyBiasStrategyInlineHeadings
<div nve-layout="column gap:sm" style="max-width: 16rem">
<nve-format-truncate position="start">training-pipeline-2026-08-05-production</nve-format-truncate>
<nve-format-truncate position="center">training-pipeline-2026-08-05-production</nve-format-truncate>
<nve-format-truncate position="end">training-pipeline-2026-08-05-production</nve-format-truncate>
</div>
training-pipeline-2026-08-05-production training-pipeline-2026-08-05-production training-pipeline-2026-08-05-production
Edit Example Truncates text at its start, center, or end while preserving the full text for assistive technology.
<div nve-layout="column gap:lg align:stretch" style="max-width: 16rem">
<h2 nve-text="heading lg"><nve-format-truncate position="center">training-pipeline-2026-08-05-production</nve-format-truncate></h2>
<p nve-text="body"><nve-format-truncate position="center">training-pipeline-2026-08-05-production</nve-format-truncate></p>
<code nve-text="code sm muted"><nve-format-truncate position="center">training-pipeline-2026-08-05-production</nve-format-truncate></code>
</div>
training-pipeline-2026-08-05-production
training-pipeline-2026-08-05-production
training-pipeline-2026-08-05-production Edit Example Inherited heading, body, and code styles keep truncated text aligned with surrounding typography. Place the component inside semantic text elements to preserve their visual hierarchy.
<div nve-layout="column gap:sm" style="max-width: 16rem">
<nve-format-truncate position="center" bias="start" preserve="10">sha256:1234567890abcdef1234567890abcdef</nve-format-truncate>
<nve-format-truncate position="center" bias="end" preserve="10">sha256:1234567890abcdef1234567890abcdef</nve-format-truncate>
</div>
sha256:1234567890abcdef1234567890abcdef sha256:1234567890abcdef1234567890abcdef
Edit Example Edge favored by center truncation. The favored edge keeps at least the configured number of units.
Bias Description start end <div nve-layout="column gap:sm" style="max-width: 16rem">
<nve-format-truncate position="center" strategy="character" preserve="8">experiment-👩🏽💻-0123456789abcdef</nve-format-truncate>
<nve-format-truncate position="center" strategy="word" preserve="3">NVIDIA autonomous vehicle training pipeline production run</nve-format-truncate>
<nve-format-truncate position="center" strategy="path" preserve="2">/models/checkpoints/production/model.bin</nve-format-truncate>
</div>
experiment-👩🏽💻-0123456789abcdef NVIDIA autonomous vehicle training pipeline production run /models/checkpoints/production/model.bin
Edit Example Text unit used for center truncation. Character preserves graphemes, word preserves words, and path preserves path segments.
Strategy Description character word path <div nve-layout="row gap:sm" style="max-width: 16rem">
<nve-format-truncate position="start">training-pipeline-2026-08-05-production</nve-format-truncate>
<nve-format-truncate position="center">training-pipeline-2026-08-05-production</nve-format-truncate>
<nve-format-truncate position="end">training-pipeline-2026-08-05-production</nve-format-truncate>
</div>
training-pipeline-2026-08-05-production training-pipeline-2026-08-05-production training-pipeline-2026-08-05-production
Edit Example Truncate applies inline to adjacent text nodes.
<div nve-layout="column gap:sm">
<h2 nve-text="heading lg" style="width: 100%; max-width: 16rem"><nve-format-truncate position="center">training-pipeline-2026-08-05-production</nve-format-truncate></h2>
<h2 nve-text="heading" style="width: 100%; max-width: 16rem"><nve-format-truncate position="center">training-pipeline-2026-08-05-production</nve-format-truncate></h2>
<h2 nve-text="heading sm" style="width: 100%; max-width: 16rem"><nve-format-truncate position="center">training-pipeline-2026-08-05-production</nve-format-truncate></h2>
</div>
training-pipeline-2026-08-05-production
training-pipeline-2026-08-05-production
training-pipeline-2026-08-05-production
Edit Example Truncate applies inline to heading text nodes.