Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openfarmcc/open-crop-icons
An openly licensed icon set of commonly cultivated crops.
https://github.com/openfarmcc/open-crop-icons
Last synced: 3 months ago
JSON representation
An openly licensed icon set of commonly cultivated crops.
- Host: GitHub
- URL: https://github.com/openfarmcc/open-crop-icons
- Owner: openfarmcc
- Created: 2016-01-14T18:36:00.000Z (about 9 years ago)
- Default Branch: mainline
- Last Pushed: 2022-12-17T06:00:58.000Z (about 2 years ago)
- Last Synced: 2024-05-07T10:44:30.243Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.36 MB
- Stars: 31
- Watchers: 19
- Forks: 9
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Open Crop Icons
This is an openly licenced icon set of commonly cultivated plants: garden vegetables, fruits, grains, and so on...
## License
These are released under a CC0 license. They're public domain works so use them without restriction. A credit somewhere to help other people find them would be in good spirit, but is not required.
## Contributing
Check out the [issues](https://github.com/openfarmcc/open-crop-icons/issues) to see which crops need claiming and let someone know which you want to work on.
Follow the [guidelines](https://github.com/openfarmcc/open-crop-icons/issues/8) and check out some of the existing icons to maintain a consistent style with the set.
When you've got something rough, open a new issue and share your progress so the community can give feedback.
When you're done, send us a pull request with the icons in their own folder of the icons directory, each named [crop-name]-[size].svg. E.g.
```
/icons
/tomato
tomato-24px.svg
tomato-32px.svg
tomato-64px.svg```
If you're not sure how to send a pull request, you can always drop a zip file into an issue and someone can handle it for you.
## npm
### install
```
npm i github:openfarmcc/open-crop-icons
```### import all
```js
import cropIcons from "open-crop-icons";const AllCrops = () => (
<>
{Object.entries(cropIcons).map(([name, src]) => (
{name.split("_").join(" ")}
))}
>
);
```### import by name
```js
import { acornSquash, adjumaPepper } from "open-crop-icons";const AcornSquash = () => ;
```