nuxt / nuxt/ui

NavigationMenu Item color

Open
#6,259 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
6.9k
Forks
1.1k
Avg merge
1d 7h
Merged PRs (30d)
57

Description

Package

v4.x

Description

An additional property for NavigationMenu items with which the color of a single item can be set. Something like this:

<UNavigationMenu
  :items="[
    {
      label: "Foo",
      color: "error",
    },
    {
      label: "Bar",
      color: "success",
    },
  ]"
/>
Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the NavigationMenu component and the type or styling definitions for its items. Trace how an item’s classes are selected, then verify the issue’s example with different colors while preserving existing item behavior. Run the relevant component checks or tests available for NavigationMenu.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, tailwindcss, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.