Coming up with icon variant naming scheme rules #4303
Replies: 3 comments
-
|
Yeah, we have thought about it, but haven't really come to a decision. There are basically 2 options:
Or a mix of the two. |
Beta Was this translation helpful? Give feedback.
-
Well, not quite, we've definitely come to the decision to not support the
So no, this is no go, see naming convention no. 5 at https://lucide.dev/contribute/icon-design-guide#naming-conventions But yeah, as @jguddas has stated, we have just not got around to renaming everything, which is fine. We can rename them organically on a case by case basis once we figure out what the rules should be, but we're not quite sure yet which of these to go with:
We're also not quite sure whether this naming scheme should be universal across all icons or should be different for different subsets of icons (e.g. The toughest nut to crack here will be coming up with a clear ruleset why and which naming convention to follow in the future, and applying that to existing icons that do not match this. 😅 |
Beta Was this translation helpful? Give feedback.
-
|
After taking another look at existing icons think the only sensible thing is to always specifiy the position of the sub-element. My proposal for a naming convention is the following
Aditional rules:
I might have forgotten something but I believe this takes care of most cases :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The Folder and File search variants have confilicting naming schemes
Current names:
folder-searchfolder-search-2file-search-cornerfile-searchbook-searchThese patterens are followed by all file variants, using
-cornerfor corner placement likefile-codeorfile-braces.My suggestion would be to treat the corner as the default.
Suggested names:
folder-searchfolder-search-centerfile-searchfile-search-centerbook-searchAlternatively both "center" variants could be renamed to
XY-search-2if numbering is preferred but this would be less easily distinguishable.There is also an issue with the "secondary icon" sometimes being placed in the bottom left and sometimes the bottom right, almost arbitrarily. Also many variants only have centered or only corner variants like
folder-heart(corner only) andfolder-code(center only) but that level of consitency would require a large scale rework of many icons as well as a full list of required changes and missing variants. This should be its own issue if the maintainers feel that this should be fixed.Beta Was this translation helpful? Give feedback.
All reactions