Skip to content
react-text-truncate

Free alternatives to react-text-truncate

200 free apps like react-text-truncate, closest match first.

Top picks

  1. R

    react-lines-ellipsis

    Launch

    react-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

  2. R

    react-multiline-clamp

    Launch

    React component that uses the css line clamping to truncate given text in specified lines.

  3. R

    react-truncate-inside

    Launch

    React 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.

  4. R

    react-truncate-string

    Launch

    > Truncate strings like butter.

  5. R

    react-textfit

    Launch

    react-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

  6. F

    @fawazahmed/react-native-read-more

    Launch

    A 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

7
R

react-autosize-textarea

replacement for built-in textarea which auto resizes itself

Launch
8
R

react-copy-to-clipboard

Copy-to-clipboard React component

Launch
9
R

react-highlight-words

React component to highlight words within a larger body of text

Launch
10
R

react-collapsible

React component to wrap content in Collapsible element

Launch
11
R

react-simple-typewriter

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

Launch
12
R

react-on-screen

A wrapper component to track if your react component is visible on screen

Launch
13
R

react-vtree

React component for efficiently rendering large tree structures

Launch
14
R

react-moment

React component for the moment date library

Launch
15
R

react-number-format

React component to format number in an input or as a text

Launch
16
R

react-typeahead

React-based typeahead and typeahead-tokenizer

Launch
17
R

react-css-collapse

Component-wrapper for collapse animation with css for elements

Launch
18
R

react-lorem-component

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

Launch
19
R

react-paginate

A ReactJS component that creates a pagination

Launch
20
R

react-input-autosize

Auto-resizing Input Component for React

Launch
21
R

react-collapse

Component-wrapper for collapse animation for elements with variable

Launch
22
R

react-contenteditable

React component representing an element with editable contents

Launch
23
R

react-scroll

React scroll component

Launch
24
W

@webscopeio/react-textarea-autocomplete

Offers autocomplete over textarea in style of GitHub

Launch
25
R

react-visibility-sensor

Sensor component for React that notifies you

Launch
26
R

react-fast-marquee

A lightweight React component

Launch
27
R

react-highlighter

Highlight select fragments of texts

Launch
28
R

rich-textarea

A small customizable textarea for React to colorize, highlight, decorate texts

Launch
29
R

react-headroom

Hide your header until you need it. React.js port of headroom.js

Launch
30
R

react-virtualized

React components for efficiently rendering large lists and tabular data

Launch
31
R

react-tagsinput

A simple react component for inputing tags

Launch
32
R

react-markdown

React component to render markdown

Launch
33
R

react-highlight

React component for syntax highlighting

Launch
34
R

react-smooth-collapse

React component for animating showing or hiding an element

Launch
35
R

react-clipboard.js

Clipboard.js wrapper for ReactJS

Launch
36
R

react-textarea-autosize

textarea component for React which grows with content

Launch
37
R

react-animate-height

Lightweight React component for animating height using CSS transitions

Launch
38
R

react-sidebar

A sidebar component for React

Launch
39
H

@hixme-ui/text

hixme-ui text component. For all your communictation needs

Launch
40
R

react-icon-cloud

A React component for rendering an interactive img or word cloud on canvas

Launch
41
R

react-custom-scrollbars

React scrollbars component

Launch
42
R

react-simple-dropdown

Non-prescriptive React.js dropdown toolkit

Launch
43
R

react-interpolate-component

A component for React that renders elements into a format string containing

Launch
44
T

@tinymce/tinymce-react

Official React component for the TinyMCE rich text editor

Launch
45
R

react-json-pretty

A code formatting tool for raw json data

Launch
46
R

react-toastify

React notification made easy

Launch
47
P

prompt-area

An opinionated, dependency-light React rich-text prompt input

Launch
48
R

react-tinymce

React TinyMCE component

Launch
49
R

react-image-gallery

Responsive image gallery, carousel, image slider react component

Launch
50
R

react-rough-notation

This is a React wrapper for [RoughNotation](https://roughnotation.com/)

Launch

About react-text-truncate

R

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