JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" style="padding-right: 30px;" />