Skip to main content

Text Truncate

The textTruncate functionality is a feature within a menu item, submenu, or menu section that allows for the truncation of text that exceeds the available space. The textTruncate prop is used to truncate the text. By default the text is truncated with an ellipsis. textTruncate prop provides the flexibility to disable the truncation by setting it to false.

Props

textTruncat?: boolean
Default Value
textTruncate={true}

Example

/vertical-menu/menu/text-truncate

Source Code