google / material-design-icons

Material Design icons by Google (Material Symbols)
http://google.github.io/material-design-icons/
Apache License 2.0
50.42k stars 9.56k forks source link

Icon Request: Not Equal #1777

Open beatreichenbach opened 2 weeks ago

beatreichenbach commented 2 weeks ago

Hello,

It would be great to have a not_equal icon. Essentially just the equal symbol with a strikethrough such as all the other *_off icons, such as cloud_off.

Thanks!

tphinney commented 2 weeks ago

Hmmm. Seems like there are two quite different options: 1) equal with a typographic strikethrough, just a normal not equal sign as seen in math 2) equal with the circle-strikethrough as in the other *_off icons

I would be more inclined to endorse option 1. Curious to hear other opinions.

beatreichenbach commented 2 weeks ago

Since the existing equal symbol doesn't have a circle, I'm also in favor of 1. Just the existing equal sign with a strikethough.

beatreichenbach commented 2 weeks ago

Here's what I'd imagine, just as reference: not_equal

tphinney commented 2 weeks ago

The slash normally goes the other way, like this: ≠

This is a fairly common typographic character. It is part of the MacRoman character set, so even the most basic western fonts that are supposed to work on the Mac generally have it. On a US English keyboard the normal font-specific character is typed by holding down the option key and typing =.

beatreichenbach commented 2 weeks ago

Thanks for the feedback.

The slash normally goes the other way, like this: ≠

The reason I made it the other way around was to match existing symbols. (https://github.com/google/material-design-icons/issues/1743#issuecomment-2248894982)

This is a fairly common typographic character.

The same thing can be said about the equal symbol. However if I want to use the equal symbol and toggle it to a not_equal, I'd have to use a font which won't match the style of the symbol. Or I have to use a font for that button, which also looks strange because all other buttons use an icon.

By the way, I'm bringing this up in the use case of content filters. For example if you'd want to have a button to "invert" the selection or say, any items that don't match the selection. (Think of a checkbox style filter system in a side bar of a data table for example.) Currently I'm using a disabled block symbol to work around it, but an equal that toggles to not_equal would be preferrable.