shuding/react-wrap-balancer

Simple React Component That Makes Titles More Readable

HTMLTypeScriptCSSJavaScriptreacttypographywrapping
This is stars and forks stats for /shuding/react-wrap-balancer repository. As of 09 May, 2024 this repository has 3628 stars and 61 forks.

Introduction React Wrap Balancer is a simple React Component that makes your titles more readable in different viewport sizes. It improves the wrapping to avoid situations like single word in the last line, makes the content more “balanced”: Usage To start using the library, install it to your project: npm i react-wrap-balancer And wrap text content with it: import Balancer from 'react-wrap-balancer' // ... function Title() { return ( <h1> <Balancer>My Awesome Title</Balancer> ...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
kevquirk/startablogHTMLCSSRuby710310
typicode/huskyJavaScriptShell30.4k01k0
barrett-ruth/import-cost.nvimLuaJavaScriptPowerShell91040
jayehernandez/jayehernandezNunjucksJavaScriptCSS5601070
wwong99/pentest-notesPythonHTMLC1.3k04980
shawjia/node-smzdmRacketJavaScript2010
ibissource/chartsVueTypeScriptSmarty1020
open-nomie/nomie6-ossSvelteTypeScriptJavaScript3440340
fairDataSociety/fairos-TODO-app-exampleSvelteTypeScriptCSS2010
aws/graph-explorerTypeScriptOther2240390