JSFiddle - React, Tailwind, and code Playground

by jemismagical

HTML

<!--Put your words in the DATA-WORDS-->

<h1 style="font-family:sans-serif;">
  we are <span
    class="typer"
    id="some-id"
    data-words="sample word,another sample,amaziing"
    data-colors="#ed426d,#6d67c6,#b74033"
    data-delay="50"
    data-loop="1">
  </span>
</h1>



<!--Insert at the bottom of your html file-->
<script async src="https://unpkg.com/typer-dot-js@0.1.0/typer.js"></script>