Skip to content

feat(material/sort): header icon customization - #32012

Closed
lekhmanrus wants to merge 1 commit into
angular:mainfrom
lekhmanrus:feat/32002/header-icon-customization
Closed

feat(material/sort): header icon customization#32012
lekhmanrus wants to merge 1 commit into
angular:mainfrom
lekhmanrus:feat/32002/header-icon-customization

Conversation

@lekhmanrus

Copy link
Copy Markdown
Contributor
  • Add optional icons (SortHeaderIcons) configuration object to MAT_SORT_DEFAULT_OPTIONS for customizing the icons used by mat-sort-header
  • Add matSortIconsTemplate template for the sort icons to [mat-sort-header]. { isDisabled: boolean; direction: 'asc' | 'desc' | ''; isSorted: boolean } passed as context.

Close #32002, #30563

@lekhmanrus
lekhmanrus requested a review from a team as a code owner October 7, 2025 19:39
@lekhmanrus
lekhmanrus requested review from adolgachev and ok7sai and removed request for a team October 7, 2025 19:39
@angular-robot angular-robot Bot added detected: feature PR contains a feature commit area: material/sort labels Oct 7, 2025
@lekhmanrus
lekhmanrus force-pushed the feat/32002/header-icon-customization branch from 5cc7856 to 3353be3 Compare October 7, 2025 20:40
@crisbeto

crisbeto commented Oct 8, 2025

Copy link
Copy Markdown
Member

I was actually thinking to just let users project in their own icon: #32016

@crisbeto crisbeto closed this Oct 8, 2025
@lekhmanrus

Copy link
Copy Markdown
Contributor Author

Thanks @crisbeto. That makes sense, allowing users to project their own icon seems like a cleaner approach.

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Nov 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: material/sort detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(mat-sort-header): Proposal — Add global token for mat-sort-header icon customization

2 participants