Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Divider component to VerticalNavigation component #951

Closed
imnash21 opened this issue Nov 12, 2023 · 2 comments · Fixed by #963
Closed

How to use Divider component to VerticalNavigation component #951

imnash21 opened this issue Nov 12, 2023 · 2 comments · Fixed by #963
Labels
question Further information is requested

Comments

@imnash21
Copy link

Description

How can I use Divider component into VerticalNavigation component like this:

IMG_20231112_093143

@imnash21 imnash21 added the question Further information is requested label Nov 12, 2023
@connerblanton
Copy link
Contributor

You can accomplish this by using two separate VerticalNavigation components like this:

<div class="flex flex-col space-y-2">
  <UVerticalNavigation :links="links" />
  <UDivider />
  <UVerticalNavigation :links="links" />
</div>

However, I'm going to throw a PR together that would allow you to accomplish the same thing by only using one VerticalNavigation and being able to "section" links together

@imnash21
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants