Skip to content
react-text-truncate

Open source alternatives to react-text-truncate

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

Top picks

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

  2. R

    react-vtree

    Launch

    react-vtree is a React component library for rendering large tree structures efficiently. It is built on top of react-window, which renders only the rows that are visible, so long trees stay responsive. It provides two components, FixedSize

  3. R

    react-input-autosize

    Launch

    React-input-autosize is a text input component for React that resizes itself to fit its current content. It wraps the input so it can measure the size of its value, and otherwise behaves much like a standard React input. You can install it

  4. R

    react-highlighter

    Launch

    react-highlighter is a React component that highlights selected fragments of a string. You give it the text to find, as a string or a regular expression, and it highlights the matching parts using an HTML element, a class, or both. Its prop

  5. R

    react-markdown

    Launch

    react-markdown is a React component that renders Markdown as React elements. You pass it a Markdown string and it returns the page content, without using dangerouslySetInnerHTML, so it is safe by default against cross-site scripting. You ca

  6. R

    react-highlight

    Launch

    react-highlight is a React component for syntax highlighting, built on the highlight.js library. You pass a code snippet as the children of the Highlight component as a string, and set its language through a className, so the code is colour

More like react-text-truncate

7
R

react-simple-dropdown

Non-prescriptive React.js dropdown toolkit

Launch
8
R

react-toastify

React notification made easy

Launch
9
R

react-swipeable-views

A React Component for binded Tabs and Swipeable Views

Launch
10
R

react-tinymce

React TinyMCE component

Launch
11
R

react-card-flip

ReactCardFlip

Launch
12
R

react-tag-input

React tags is a fantastically simple tagging component for your React projects

Launch
13
R

react-pro-sidebar

high level and customizable side navigation

Launch
14
R

react-quilljs

React Hook Wrapper for Quill, powerful rich text editor

Launch
15
E

@egjs/react-infinitegrid

A module used to arrange card elements including content infinitely on a grid

Launch
16
R

react-infinite

A browser-ready efficient scrolling container based on UITableView

Launch
17
R

react-cropper

Cropper as React Component

Launch
18
R

react-diff-viewer-continued

Continuation of a simple and beautiful text diff viewer component

Launch
19
R

react-list

A versatile infinite scroll React component

Launch
20
R

react-responsive-carousel

React.js Responsive Carousel (with Swipe)

Launch
21
R

react-pdf-highlighter

Set of React components for PDF annotation

Launch
22
R

react-loading

React loading component

Launch
23
M

Mantine

A fully featured React components library

Launch
24
R

react-resizable-and-movable

Resizable and movable component for React

Launch
25
R

react-barcode

React component to generate barcodes

Launch
26
R

react-resizable-box

Resizable component for React. #reactjs

Launch
27
R

react-grid-gallery

Justified gallery component for React

Launch
28
R

react-highlight-popover

Headless component for text selection popovers

Launch
29
R

@restart/ui

Utilities for creating robust overlay components

Launch
30
R

react-arborist

The complete tree view component for React

Launch
31
R

React Super Responsive Table

Turn the tables on unresponsive data!

Launch
32
R

React Page Visibility

Declarative, nested, stateful, isomorphic page visibility React component

Launch
33
Y

yet-another-react-lightbox

Modern React lightbox component

Launch
34
R

react-document-title

A declarative, nested, stateful document.title for React

Launch
35
R

reactable

Fast, flexible, simple data tables in React

Launch
36
N

number-flow

React component for number transitions and formatting

Launch
37
R

react-player

A React component for playing a variety of URLs, including file paths, Mux

Launch
38
R

react-intense

A React component for viewing large images up close

Launch
39
R

react-data-grid

Feature-rich and customizable data grid React component

Launch
40
R

react-scrollchor

A React component for scrolling to #hash links with smooth animations

Launch
41
R

react-calendar-timeline

react-calendar-timeline

Launch
42
R

react-sticky

Sticky component for React

Launch
43
A

ant-design

An enterprise-class UI design language and React UI library

Launch
44
R

ReactGrid

Add spreadsheet-like behavior to your React app

Launch
45
R

react-notifications-component

React component for creating notifications on the fly

Launch
46
B

@brainhubeu/react-carousel

Carousel component for React

Launch
47
F

fixed-data-table-2

A React table component designed to allow presenting thousands of rows of data

Launch
48
R

react-contextmenu

Context Menu implemented in React

Launch
49
M

material-table

Datatable for React based on material-ui's table with additional features

Launch
50
R

react-simple-image-viewer

Simple image viewer component for React

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