Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artcoholic/akar-icons
Akar icons library as React components.
https://github.com/artcoholic/akar-icons
icon-pack icons react reactjs svg svg-icons
Last synced: about 1 month ago
JSON representation
Akar icons library as React components.
- Host: GitHub
- URL: https://github.com/artcoholic/akar-icons
- Owner: artcoholic
- License: mit
- Created: 2020-10-21T18:56:25.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-21T22:36:24.000Z (8 months ago)
- Last Synced: 2024-09-29T06:01:30.625Z (about 2 months ago)
- Topics: icon-pack, icons, react, reactjs, svg, svg-icons
- Language: JavaScript
- Homepage: https://akaricons.com
- Size: 2.56 MB
- Stars: 404
- Watchers: 4
- Forks: 20
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![npm](https://img.shields.io/npm/v/akar-icons?style=for-the-badge)
![npm](https://img.shields.io/npm/dm/akar-icons?style=for-the-badge)# akar-icons
A perfectly rounded icon library made for designers, developers, and pretty much everyone. Explore all of our icons at [akaricons.com](https://akaricons.com).## Get Started
### 1. Installation
Install with npm:```shell
npm install --save akar-icons
```### 2. Usage
Import the icons you need into your React project and declare them in your render method:```jsx
import { ArrowRight, Star, LinkOut } from 'akar-icons';const MyComponent = () => {
return (
);
};export default MyComponent;
```Icons can be configured with inline props including inline ```style``` objects:
```jsx
```
Prop | Description | Default
---- | ----------- | -------
`color` | Set the icon color | `currentColor`
`size` | Set the width and height of the svg icon | `24`
`strokeWidth` | Set the stroke width of the icon | `2`
`style` | Add [inline styles](https://facebook.github.io/react/tips/inline-styles.html) to the element | `{}`You can also import the whole icon library like this:
```jsx
import * as Icon from 'akar-icons';const MyComponent = () => {
return
};export default MyComponent;
```Explore all of our icons at [akaricons.com](https://akaricons.com).
## Related Projects
* [akar-icons-app](https://github.com/artcoholic/akar-icons-app) - Homepage repo of Akar icons.
* [akar-icons-fonts](https://github.com/artcoholic/akar-icons-fonts) - Akar icons as icon fonts.
* [akar-icons-web-components](https://github.com/awmleer/akar-icons-web-components) - Akar icons as web components, fully customizable and use anywhere.
* [akar-icons-svelte](https://github.com/WilliamVenner/akar-icons-svelte) - Akar icons as Svelte components.
* [blade-akar-icons](https://github.com/codeat3/blade-akar-icons) - A package to easily make use of Akar Icons in your Laravel Blade views.
* [akar_icons_flutter](https://github.com/alann-maulana/akar_icons_flutter) - Akar icons package for Flutter.## Author
Arturo Wibawa ([@agwibawa](https://twitter.com/agwibawa))## License
[MIT License](./LICENSE), Copyright © 2020-present Arturo Wibawa.