B
Bollard UI

Middle Truncate · Bollard UI

Text that truncates in the middle to the real rendered width so the distinguishing end (a file extension, the last characters of an ID) stays visible, while copy, title and screen readers always get the full value. Never splits emoji or accents.

npx shadcn@latest add @bollard/middle-truncate
Loading the source for middle-truncate…

middle-truncate