This project is a React component for an icon picker, allowing users to select icons from the Feather Icons library. The selected icon is displayed in a designated area, and the icon picker supports pagination if there are more icons than can fit on a single page.
- Displays Feather Icons in a grid.
- Customizable rows and columns per page.
- Supports pagination for large icon sets.
- Displays selected icon in a 100x100
div
. - Customizable icon and picker dimensions.
-
Clone the repository:
git clone https://github.com/chiragyadav2003/Icon-Picker.git
-
Navigate to the project directory:
cd Icon-Picker
-
Install the dependencies:
yarn install
-
Start the development server:
yarn dev
-
Open your browser and navigate to http://localhost:5173 to see the component in action.
- src/IconPicker.jsx: Main IconPicker component.
- src/IconPicker.css: Styles for the IconPicker component.
- src/App.jsx: Example usage of the IconPicker component.
- src/index.jsx: Entry point for the React application.
This project is licensed under the MIT License. See the LICENSE file for details.
- Feather Icons for providing the icon set.
- React for the JavaScript library.
If you have any questions or suggestions, feel free to reach out to Chirag Yadav