Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Moonmen's avatar

Making a HTML Form to add a restaurant Menu

Hey, I'm trying to make a HTML Form where you can add a restaurant Menu,

my idea was:

An TreeView, with expandable nodes, you can create, edit and delete Nodes via JavaScript, collapse Nodes etc. so you can add a Category like Pizza, and then subcategorys like Vegetarian Pizzas and then you can add Food to it, the problem is that I found no good TreeView Plugin, I used Bootstrap Treeview but it has close to zero options.

Is there any premade TreeView thing I can use? I saw JsTree but its ugly.

0 likes
5 replies
Moonmen's avatar

@topvillas Thank you! But it still doesnt fit the design of my website, my website is very modern bootstrap like, and all those tree views are very ugly.

topvillas's avatar

The tree view example if just an example. Style it with your own css.

Moonmen's avatar

@topvillas but also no options like add delete edit etc. also drag and drop is something important

topvillas's avatar

Take the example and expand on it.

If you're not happy with any other people's tree view components look then just change the css.

Please or to participate in this conversation.