New component name:
Depending on implementation, this might be Truncate. It could also get implemented as a prop on text-based components backed by some utility functions.
Package this component should live in: Core
Context
Using this component or prop would allow the user to set the max-width of text with the expectation that overflow would be hidden and ellipses would be added to the end.
New component name: Depending on implementation, this might be
Truncate
. It could also get implemented as a prop on text-based components backed by some utility functions.Package this component should live in: Core
Context Using this component or prop would allow the user to set the max-width of text with the expectation that overflow would be hidden and ellipses would be added to the end.