Any way to access statically the list of icon names ? #1778
Answered
by
ericfennis
martin-cycle
asked this question in
Help
-
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.
Answered by
ericfennis
Jan 5, 2024
Replies: 1 comment 7 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
martin-cycle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.