spfyui
v0.1.2
Published
cli tool tool to manage react icons and components...
Downloads
2
Maintainers
Readme
SPFYUI
Why spfyui ?
- SpfyUI solves the problem of limited icon sets and bloated packages in React projects by letting you dynamically add icons or UI components from various providers as needed, avoiding unnecessary codebase clutter.
Key Benefits
- Dynamic Integration
- Reduced Bloat
- Unified Interface
Preview
How to use ?
-- Install spfyui globally.
npm i spfyui -g
-- Go to your react project and initialize spfyui
spfyui init
-- Now you are ready to go
you can download any svg icon from general category : Icons/general
Commands
- Add icon.
add | a
spfyui add ri:github-line #<provider>:<iconname>
- List icons.
spfyui list # icons installed in current project.
spfyui list <provider> # icons installed from specefic provider.
spfyui list -g #All icons
- Remove icon
rm || remove
spfyui rm ri:github-line
Hooray you are all set now you can create a react project and use spfyui.
Example:
-- spfyui init
This sets up necessary utils files and path to icon dir inside src/assets
-- you can download any svg icon from general category : Icons/general
-- spfyui add ri:github-line
TODOs
- [x] Add
add
Feature: Implemented the functionality to add icons or components. - [x] extend
add
Feature: Support to svg icons with multiple path data. - [x] Add
init
Command: Set up the initial project configuration. - [x] Add
rm
Feature: Implement functionality to remove icons or components. - [x] Add Listing Commands:
- [x]
list
: List all installed icons in the current project. - [x]
list <povider>
: List all installed icons by provider. - [x]
list -g
: List all installed icons globally.
- [x]
- [ ] Add support to emojies.
- [ ] Add Component Support: Extend functionality to support UI components