UI5 / UI5/webcomponents

[Feature Request]: ability to define custom template for menu items

Open
#13,948 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request Medium Prio TOPIC B
Dominant language
TypeScript
Stars
1.8k
Forks
285
Avg merge
3d 2h
Merged PRs (30d)
59

Description

Feature Request Description

Currently, the UI5 Menu doesn't support customizing the template for menu items, while other dropdown components already support this (e.g. ui5-combobox via ui5-cb-item-custom).

Proposed Solution

Add a ui5-menu-item-custom component that allows projecting custom content into the menu item. Or add a new slot that allows this.

Proposed Alternatives

No response

Organization

SAP LeanIX

Additional Context

No response

Priority

None

Privacy Policy
  • I’m not disclosing any internal or sensitive information.

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 reading the UI5 Menu component and comparing its item API with ui5-combobox and ui5-cb-item-custom. Determine whether a ui5-menu-item-custom component or a slot fits the existing pattern; done means menu items can project custom content while preserving normal menu behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.