这是indexloc提供的服务,不要输入任何密码
Skip to content

[Feature request] navbar dropdown #867

@tddschn

Description

@tddschn

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I want to add more entries to the nav bar but don't want to create too much visual cluster. A drop down would be nice, as it allows me to group multiple navbar links together, taking less space by default.

Describe the solution you'd like
A clear and concise description of what you want to happen.

const headerNavLinks = [
  { href: '/', title: 'Home' },
  { href: '/blog', title: 'Blog' },
  { href: '/tags', title: 'Tags' },
  { title: 'Dropdown 1', children: {
href: '/link1', title: 'title 1',
href: '/link2', title: 'title 2',
} // this becomes a dropdown navbar item
]

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions