A perfectly rounded icon library made for everyone.
npm install akar-icons``shell`
npm install --save akar-icons
`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 | currentColorsize | Set the width and height of the svg icon | 24strokeWidth | Set the stroke width of the icon | 2style | Add inline styles 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.