You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A really common problem with icon libraries (including Untitled) is that they export some really generic items like Activity, Mark, Home, Box, etc.
With such naming schemes, clashes with existing libraries are almost guaranteed. Whilst irrelevant at runtime, this often leads to unpleasant DX within IDEs (e.g. auto importing the wrong thing). The lack of explicitness can also make it unclear that a rendered JSX element is actually an icon or not, impacting overall code readibility.
Proposed solution
It would be amazing if untitled also offered aliased exports so instead of e.g. Box the export is BoxIcon, Activity is instead ActivityIcon. This would of course be optional.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Problem or use case
A really common problem with icon libraries (including Untitled) is that they export some really generic items like
Activity,Mark,Home,Box, etc.With such naming schemes, clashes with existing libraries are almost guaranteed. Whilst irrelevant at runtime, this often leads to unpleasant DX within IDEs (e.g. auto importing the wrong thing). The lack of explicitness can also make it unclear that a rendered JSX element
isactually an icon or not, impacting overall code readibility.Proposed solution
It would be amazing if untitled also offered aliased exports so instead of e.g. Box the export is BoxIcon, Activity is instead ActivityIcon. This would of course be optional.
Lucide offers this and it's a great feature.
Alternatives considered
No response
Examples or mockups
No response
Beta Was this translation helpful? Give feedback.
All reactions