Components
Ellipsis With Tooltip
RegistryTruncated text that only shows a tooltip when it actually overflows its container.
Truncated text with an overflow-only tooltip using Tooltip from @by/experience-system.
After shadcn add, import EllipsisWithTooltip from the path your registry aliases map to (often @/components/ui/ellipsis-with-tooltip).
Installation
Run the shadcn CLI with your package manager. It vendors the recipe into components/ui/ellipsis-with-tooltip.tsx and installs the runtime dependencies (@by/experience-system) automatically:
pnpm dlx shadcn@latest add @by-es/ellipsis-with-tooltipIn this monorepo, depend on the workspace package (for example via workspace:* or your catalog) so imports resolve to packages/experience-system. Configure the Registry in your app before adding recipes.