JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://rawgithub.com/davatron5000/Lettering.js/master/jquery.lettering.js"></script>
<p>
Chupa chups icing chupa chups liquorice carrot cake. Candy canes brownie gummi bears carrot cake. Oat cake cotton candy brownie gingerbread gingerbread dragée. Ice cream pie sugar plum jelly-o chocolate chupa chups chocolate bar. Lollipop gummies candy canes marzipan toffee pudding. Lemon drops jelly gummi bears. Applicake jujubes apple pie. Croissant cake fruitcake apple pie jelly macaroon chupa chups cupcake. Chocolate bar cotton candy marzipan dragée tart. Gingerbread bonbon chocolate cake sweet roll bonbon sweet jelly-o dragée chupa chups. Pie sugar plum apple pie tootsie roll muffin croissant tiramisu pastry. Brownie ice cream caramels wafer donut croissant muffin. Cookie marzipan liquorice gingerbread wafer.
</p>
CSS
p {
font-family: Arial;
font-size: 13px;
}
p span {
white-space:nowrap;
}
p span span {
display: inline-block;
width: 10px;
}
JavaScript
(function($) {
$('p').html('<span>' + $("p").text().replace(/\s/g, '</span> <span>') + '</span>').children().lettering();
})(jQuery);