adobe / adobe/spectrum-web-components

[Feat]: Add value-slot to SideNavItem to render right-aligned content - such as additional icons

Open
#5,096 2 comments 0 reactions 0 assignees View on GitHub
Component:Side nav Feature
Dominant language
TypeScript
Stars
1.5k
Forks
262
Avg merge
3d 10h
Merged PRs (30d)
68

Description

### Code of conduct

- [x] I agree to follow this project's code of conduct.

### Impacted component(s)

SideNavItem

### Description of the requested feature

We'd like to add additional content via "value" slot to sidenav-item (such as Keyboard shortcuts or extra icons) content placed at the end of the SideNav Item like values, keyboard shortcuts, etc. Kind of similar to menu-item.

### Mockups or screenshots

Image

### Implementation notes or ideas

render "value" slot similar to menu-item

Contributor guide

Open the contributing guide

Research direction

Start by locating the SideNavItem implementation and comparing its rendering with the menu-item value slot behavior. The work is done when a value slot accepts content such as keyboard shortcuts or additional icons and renders it right-aligned at the end of the item.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.