Any way to access statically the list of icon names ? #1778
-
Package
Versionlatest Browser
Operating system
DescriptionI would need to type the value of the icon used in the context of a graphql validator in a node express app. Steps to reproduce/ Checklist
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
-
I really want the list of all the name of the icons. |
Beta Was this translation helpful? Give feedback.
You can use
lucide-static
package for this. In the root there are some files which includes list of all icon names.See NPM file explorer: https://www.npmjs.com/package/lucide-static?activeTab=code, for example the
icon-nodes.json
file has object with names and icon nodes.