Text Truncation
Troncamento del testo
Il troncamento del testo taglia il testo per risparmiare spazio. Un'ellissi mostra che una o più righe mancano.
Un altro esempio
Il titolo di un progetto si ferma dopo due righe e finisce con dei puntini. La pagina dei dettagli mostra comunque il titolo completo.
Parti principali
- 01Outer constraint
- 02Content and spacing model
- 03Computed size or reflow result
Usalo quando
Usalo in elementi ripetuti e compatti quando le persone possono comunque accedere al testo completo.
Non usarlo quando
Non tagliare mai ID unici, prezzi, errori o qualsiasi testo necessario per fare una scelta.
Nome usato nel codice
text-overflow / line-clamp Prima di spedire
Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.
Outcome: Complete the task with Troncamento del testo (Text Truncation). User context: Il titolo di un progetto si ferma dopo due righe e finisce con dei puntini. La pagina dei dettagli mostra comunque il titolo completo. Design concept to apply: Troncamento del testo (Text Truncation). Why it fits: Usalo in elementi ripetuti e compatti quando le persone possono comunque accedere al testo completo. Do not use it when: Non tagliare mai ID unici, prezzi, errori o qualsiasi testo necessario per fare una scelta. Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary): Un documento formale può ancora essere una bozza, un release candidate o la versione finale. Controlla il suo stato e il supporto per browser o piattaforma. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
Controlla questa richiesta
Review how Troncamento del testo (Text Truncation) is used now. Definition: Il troncamento del testo taglia il testo per risparmiare spazio. Un'ellissi mostra che una o più righe mancano. Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.