How to create an app like notion.so?

In notion.so app you can create any element by hitting / and it will pop up a window with all types of options like heading box or image box or table box ..etc. How can I create something like that with ReactJs?

Comments (2)

Vamsi Rao's photo

You can use Event Listeners for it. Attach one of the onKey event listeners like onKeyUp and check for keyCode in the event handler function.

Ali plutus's photo

yp I know that step my problem is how to show that popup window with my pre-created elements.