Replicating the Jupyter Notebook textarea interface

I’d like to know if the HTML that defines the input area for the Jupyter Notebook is available in any open source repositories. I’m interested in seeing how all three containers are integrated to expand as the user types. Thenky…