Free alternatives to react-textfit
200 free apps like react-textfit, closest match first.
Top picks
- R

react-text-truncate
LaunchReact-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
- 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-simple-typewriter
LaunchA simple react component for adding a nice typewriter effect to your project.
- R

react-autosize-textarea
Launchreact-autosize-textarea is a light React component that replaces the built-in textarea and automatically adjusts its height to fit the content as the user types. The project says it is perfectly compatible with React's default textarea, so
- R

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

react-input-autosize
LaunchReact-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
More like react-textfit

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

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

react-native-responsive-fontsize
Simple method for resposive fontSize based on screen-size of the device in

react-inner-image-zoom
A React component for magnifying an image within its parent container

@nine-thirty-five/material-symbols-react
Flexible, tree-shakeable React package for Google's Material Symbols

react-linkify
React component to parse links (urls, emails, etc.) in text into clickable links

@egjs/react-infinitegrid
A module used to arrange card elements including content infinitely on a grid
About react-textfit

react-textfit
React component to fit headlines and paragraphs into any element
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-height and padding. The component has two modes. Single mode is for headlines, and by default it ignores the element's height so the text fits on one line. Multi mode is for paragraphs and wraps the text to fill the element. Props let you set the mode, decide whether the height is ignored in single mode, and set the minimum and maximum font size in pixels. A throttle prop controls how often the text is refitted on window resize, and an onReady callback runs once the text has been fitted. The README includes usage examples for headlines and paragraphs, and it links a demo. The project is MIT licensed and public on GitHub.
- Price
- Free
- Made by
- denis-sokolov
- Category
- UI Libraries
- Website
- github.com/malte-wessel/react-textfit


























