Pls check out DialogueSystem.js
It adds a div based RPG styled dialogue system.
You can make stuff like this
(supposed to be html embed, but github doesn't have that)
example.from.manual.lol.mp4
We have templates for Dweller's Empty Path, OneShot, OMORI, UNDERTALE (this one is still not done lol)
They also have a highly close to 1:1 precision from the original games
Check em out here