Create a prompt for the user


is there a way to prompt an input without any external packcages?
I have to prompt a simple string


You can create a modal panel, which is what the new file name prompt and the Command Palette are.


Could you please give me a practical example?
I only need to get a string from the user and save it in a variable


The Command Palette is a concrete example, and there are a bunch of packages out there that use it.