Hi.
Is there a component such that;
I would like to use a dropdown element which is not a form dropdown. I will not give a prop of items. It will not show a list of items. I just want to design the dropdown panel as I wish. Like a mega menu which contains custom HTML.
Dropdown menu with custom content
-
- Posts: 84
- Joined: 06 Sep 2022, 08:59
Hello,
If I understand you correctly and you want to customize the dropdown, you can use slots for functionality and pass-through for styling. I'm including the relevant links below.
https://primevue.org/dropdown/#template
https://primevue.org/dropdown/#pt.image
If I understand you correctly and you want to customize the dropdown, you can use slots for functionality and pass-through for styling. I'm including the relevant links below.
https://primevue.org/dropdown/#template
https://primevue.org/dropdown/#pt.image
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest