neomicons v1.0.4
Neomicons
Neomicons is a package of SVG icons designed to be used in various JavaScript frameworks like React and Angular. This package allows developers to easily incorporate high-quality icons into their projects.
Installation
To install Neomicons, you can use npm:
bash
npm install neomicons
Usage
React
To use Neomicons in a React project, follow these steps:
- Import the icon: Import the desired icon from the Neomicons package.
jsx
import { Add } from 'neomicons';
- Use the icon in your component: Include the icon in your JSX.
jsx
import './App.css';
import { Add } from 'neomicons';
function App() {
return (
<div>
<Add />
</div>
);
}
export default App;
Build and Development
To build the project, you need to transpile the source files using Babel. This can be done using the following npm scripts:
- Build: Transpile the source files and output to the
dist
directory.
bash
npm run build
- Prepare: Run the build script. This is useful for preparing the package before publishing.
bash
npm run prepare
Dependencies
@svgr/cli
: A tool to transform SVG files into React components.@babel/cli
: Babel command line interface.@babel/core
: Babel compiler core.@babel/preset-env
: Smart preset that allows you to use the latest JavaScript.@babel/preset-react
: Babel preset for React.
Authors
- Neha Sharma
- Omesh Kumar
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Keywords
- svg
- icons
- react
- angular
- nodejs
Contributing
We welcome contributions! Please fork the repository and submit a pull request for review.
For any issues or feature requests, please open an issue on GitHub.
Feel free to reach out with any questions or feedback. Happy coding!