Alternatives to react-text-truncate
200 apps like react-text-truncate, closest match first.
Top picks
- R

react-lines-ellipsis
Launchreact-lines-ellipsis is a multiline ellipsis component for React. It clamps a block of text to a maximum number of lines and shows an ellipsis at the end, so long text fits its box. You pass the text prop, and maxLine sets how many lines ar
- R

react-multiline-clamp
LaunchReact component that uses the css line clamping to truncate given text in specified lines.
- R

react-truncate-inside
LaunchReact component that truncates text in the middle with an ellipsis, so a long string such as a file name, hash or wallet address keeps both its beginning and its end visible.
- R

react-truncate-string
Launch> Truncate strings like butter.
- R

react-textfit
Launchreact-textfit is a React component that fits headlines and paragraphs into any element by sizing their text. It uses a binary search to find the right font size quickly, and the README says it works with any style setup, including line-heig
- F

@fawazahmed/react-native-read-more
LaunchA simple react native library to show large blocks of text in a condensed manner with the ability to collapse and expand.
More like react-text-truncate

react-simple-typewriter
A simple react component for adding a nice typewriter effect to your project

react-lorem-component
A component for React that renders paragraph or list item tags full of lorem

@webscopeio/react-textarea-autocomplete
Offers autocomplete over textarea in style of GitHub
About react-text-truncate

react-text-truncate
Truncate text for React.js
React-Text-Truncate is a React component that shortens text to a set number of lines and adds an ellipsis when the text is too long. It is meant for multi-line truncation, so a paragraph or a card description can be cut to fit a fixed space. You install it and use it in place of plain text in your component, and the README includes markup examples and a demo. The FAQ says that if the component is hidden and then displayed again, such as when a tab or panel changes its display style, you need to trigger the update manually so the truncation is recalculated. It does not support Internet Explorer 10 or older, which the README describes as no longer supported by Microsoft. The project is public on GitHub, and its install and usage steps are shown in the README. Use it when a React app has text blocks that must stay within a fixed number of lines, such as article previews or listing cards.
- Price
- Free
- Made by
- shinychang
- Category
- UI Libraries
- Website
- github.com/shinychang/react-text-truncate





























