Skip to content

Dropdown in Navigation Menu #249

Answered by mearashadowfax
markwsac asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @markwsac, thanks for the kind words!

Absolutely, you have a couple of options:

  • You can use the NavbarMegaMenu component and adjust the MegaMenuLink to add a dropdown on hover (I've attached a screenshot for reference).

  • Or you could implement your own dropdown using Preline UI’s Dropdown plugin. You can check it out here: Preline Dropdown Plugin.

Just add the following script to your setup:

<script>
  import "@preline/dropdown/index.js";
</script>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by markwsac
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #248 on November 01, 2024 18:03.