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.
pnpm dlx shadcn@latest add "https://bollard-ui.vercel.app/r/middle-truncate.json"