dactylo

Demo

Dactylo walks through text one character at a time. JavaScript finds the text; CSS reveals it.

Install it with npm install dactylo, then importdactylo/auto or call dactylo() yourself.

Default

The default auto entrypoint applies the effect to headings, paragraphs, lists, links, buttons, tables, and other ordinary text-bearing elements.

Lists

Controls

  • stopped
  • This paragraph is controlled by the buttons. It can be reset and animated again with different character delays.

    Manual Target

    import { dactylo } from 'dactylo'
    
    dactylo(document.querySelector('main'), { delay: 24 })