Search results

283 packages found

Truncate a string to a specific width in the terminal

published version 4.0.0, a year ago389 dependents licensed under $MIT
72,320,068

Ellipsizes a string at the nearest whitespace character near the end of allowed length

published version 0.5.1, 3 years ago76 dependents licensed under $MIT
294,516

Simple multiline ellipsis component for React.JS

published version 0.15.4, a year ago148 dependents licensed under $MIT
321,424

React component for truncating multi-line spans and adding an ellipsis

published version 2.4.0, 6 years ago161 dependents licensed under $ISC
310,576

React component for truncating JSX markup

published version 5.1.2, 3 years ago46 dependents licensed under $Apache-2.0
180,639

The text surrounded by the component will be truncated. Anything surrounded by the component could be evaluated as text. The component react-show-more-text/ShowMoreText is fork of react-show-more/ShowMore, applied improvements, works with React 16.x.x, ad

published version 1.7.1, a year ago29 dependents licensed under $ISC
125,436

Shave is a javascript plugin that truncates multi-line text within a html element based on set max height

published version 5.0.4, a year ago31 dependents licensed under $MIT
69,398

Truncate a list of elements with a symbol or component of your choice

published version 1.0.3, a year ago0 dependents licensed under $ISC
67,449

Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too long.

published version 0.7.0, 10 years ago18 dependents licensed under $WTFPL
34,115

Provides `Truncate`, `MiddleTruncate` and `ShowMore` React components for truncating multi-line spans and adding an ellipsis.

published version 0.4.6, 7 days ago0 dependents licensed under $MIT
23,776

React component for truncating multi-line spans and adding an ellipsis

published version 2.0.0, 7 years ago6 dependents licensed under $ISC
20,717

Vue3 component which allows you to ellipsis your multiline text.

published version 0.1.2, 2 years ago1 dependents licensed under $MIT
23,809

React hook/component to detect overflow state

published version 0.8.0, 10 months ago2 dependents licensed under $MIT
20,168

![GitHub](https://img.shields.io/github/license/ajobi/vue-snip) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/vue-snip)

published version 2.0.2, 6 months ago8 dependents licensed under $MIT
18,097

Vue table component

published version 2.27.1, 2 years ago18 dependents licensed under $MIT
17,280

Line clamp a DOM element in vanilla JavaScript

published version 1.0.0, 6 years ago8 dependents licensed under $MIT
15,421

React component which ellipsis text

published version 1.2.1, 6 years ago12 dependents licensed under $MIT
18,904

A simple, fast and lightweight directive for truncating multi line texts using "cross-browser" CSS strategies.

published version 1.3.2, 6 years ago41 dependents licensed under $MIT
13,733

Avoid using periods and spaces

published version 1.0.11, 10 years ago12 dependents licensed under $MIT
12,862

Universal JavaScript library for clamping HTML text elements.

published version 1.2.0, 2 years ago1 dependents licensed under $MIT
12,175