/ Motion

Random Text React Component

Random Text React Component

Random Text React Component

This is a a react component that excepts a text, and manually calculates how to flow the text in the given width. You can see the actual component in the render method of App (at the bottom of the JS file). And you can tweak all of its params at the top of the JS file. It's also responsive, try changing the width of the window!

codepen demo

See the Pen Random Text React Component by Myles Gearon (@MityaDSCH) on CodePen.