JSFiddle - React, Tailwind, and code Playground

HTML

<ruby>漢<rt>かん</rt>字<rt>じ </rt></ruby>