material-components / material-components/material-web
[Chips] Add `slot="trailing-icon"`
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 11.3k
- Forks
- 1.1k
- Avg merge
- 20h 28m
- Merged PRs (30d)
- 13
Description
### What is affected?
Component
### Description
Add a feature to completely replace or add a trailing icon in multi-action chips. The feature should support adding a decorative or interactive icon/icon button.
### Reproduction
N/A
### Workaround
N/A
### Is this a regression?
No or unsure. This never worked, or I haven't tried before.
### Affected versions
N/A
### Browser/OS/Node environment
N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Chips component and its existing slot API and tests. Check how multi-action chips render trailing content, then verify that the new trailing-icon slot supports both replacing the existing icon and adding a decorative or interactive icon button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scss
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100