MiddleTruncate
Truncates text in the middle, preserving the start and end of the string for maximum readability.
Examples
Covers strings that benefit from middle truncation.
Branch
feature/redesign-dashboard-navigation-with-sidebar-improvements
Preview URL
platform-web-git-feature-redesign-dashboard-navigation-phamous.vercel.app
Deployment ID
dpl_8gmXTT1yJRP8UbGfXD7A3sp4RKhW
Commit SHA
2b0874e797d7c2a4092d0033ee0c2f0f9aef2869
File path
apps/vercel-site/app/(dashboard)/[teamSlug]/[project]/settings/page.tsx
Custom domain
api.internal.platform-observability.example.com
Model name
google/gemini-3.1-flash-image-preview
Tight width
feature/redesign-dashboard-navigation-with-sidebar-improvements
Fits as-is
sidebar.tsx
Was this helpful?