feathericons / feathericons/feather
What is the way to import only certain icons?
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 26k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
This is all I can find: import feather from "feather-icons";.
It helps me to use feather.replace() in this class.
But I don't want to load the whole set of icons in my js file.
Can I only have the icons imported that I'm actually using?
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the package's documented import feather from "feather-icons" usage and how feather.replace() handles icons. Determine whether importing only icons used by the application is supported, then document the supported approach or clearly state the limitation; the issue provides no file or test entry point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100