Giter VIP home page Giter VIP logo

akar-icons's Introduction

npm npm

akar-icons

A perfectly rounded icon library made for designers, developers, and pretty much everyone. Explore all of our icons at akaricons.com.

akar icons

Get Started

1. Installation

Install with npm:

npm install --save akar-icons

2. Usage

Import the icons you need into your React project and declare them in your render method:

import { ArrowRight, Star, LinkOut } from 'akar-icons';

const MyComponent = () => {
  return (
    <div>
      <ArrowRight />
      <Star />
      <LinkOut />
    </div>
  );
};

export default MyComponent;

Icons can be configured with inline props including inline style objects:

<Star color="yellow" size={32} strokeWidth={3} style={{ display: "block" }}/>
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 to the element {}

You can also import the whole icon library like this:

import * as Icon from 'akar-icons';

const MyComponent = () => {
  return <Icon.ArrowRight />
};

export default MyComponent;

Explore all of our icons at akaricons.com.

Related Projects

Author

Arturo Wibawa (@agwibawa)

License

MIT License, Copyright ยฉ 2020-present Arturo Wibawa.

akar-icons's People

Contributors

artcoholic avatar arthurdenner avatar dependabot[bot] avatar john-theo avatar leadream avatar nirnejak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

akar-icons's Issues

[BUG]

Describe the bug
The Linkedin icon is not displayed when used as a CSS font. This occurs with version 1 and 2 of the Linkedin icon.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new project with akar icons
  2. Add the linkedin icon
  3. Load the project and look for the missing linkedin icon

Expected behavior
I expect the Linkedin logo to be displayed in this case.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows & iOS
  • Browser Chrome & Microsoft Edge
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: iPhone 12
  • OS: iOS 15.3
  • Browser Chrome
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Banana [ICON REQUEST]

Describe the icon you'd like to be added
A banana icon

Sample icon
Attach any samples/screenshots here.
image

[BUG] Icon names on website do not match actual CSS classes

Describe the bug
The HTML/CSS snippet offered for each icon does not show the correct class name. For example, for the Arrow Down icon, the real CSS classname is ai-arrow-down, but the class shown is ai-ArrowDown.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://akaricons.com
  2. Find and click on an icon
  3. Look at class

Expected behavior
The correct classname should come up.

Screenshots
image

Desktop (please complete the following information):

  • Windows 10
  • Chrome
  • 92

[ICON REQUEST]

Describe the icon you'd like to be added
A clear and concise description of what you want to have.

Sample icon
Attach any samples/screenshots here.

[ICON REQUEST]

Describe the icon you'd like to be added
TikTok logo icon

Sample icon
Attach any samples/screenshots here.
tiktok.com

location

Describe the icon you'd like to be added
A clear and concise description of what you want to have.

Sample icon
Attach any samples/screenshots here.

[ICON REQUEST]

Backspace icon for the dial

Sample icon
Attach any samples/screenshots here.
image

[ICON REQUEST]

Describe the icon you'd like to be added
Discord Icon with Circle
Empty Discord Icon

[ICON REQUEST]

Icons of a cursor (windows, apple, linux)

My website im making would definitely look better with a cursor icon, since its named with the word "Click" and a cursor would make a good icon to show off its use.

TripAdvisor

Describe the icon you'd like to be added
A clear and concise description of what you want to have.

Sample icon
Attach any samples/screenshots here.

[ICON REQUEST]

Describe the icon you'd like to be added
A clear and concise description of what you want to have.

Coding languages! Such as the bootstrap logo, react logo, angular, vue, javascript, html, css etc.
I truly love this pack and wanted to add more detail by adding icons and came to find there are no language icons and i feel
that it would be really useful to have them

Sample icon
Attach any samples/screenshots here.

Just the icons of languages

[ICON REQUEST] Whatsapp

Describe the icon you'd like to be added
Whatsapp icon, as addition to the current social media ones

Sample icon
Sample

[ICON REQUEST] Globe

Describe the icon you'd like to be added
A nice Globe or World Map Icon would be much appreciated

Sample icon
Bildschirmfoto 2021-08-18 um 13 23 14

[ICON REQUEST]

Hi, firstly wanted to say how much I adore your icon sets. They're brilliant.

Kindly requesting for your consideration:

Travel Icon Set

  • Saloon Car
  • Estate Car
  • MPV Car
  • MPV+ Car
  • Electric Car
  • Train
  • Bus
  • Boat
  • Suitcase
  • Check-in
  • Electric Icon

Avoid downloading App dependencies

When I'm installing akar-icons, I notice I'm also downloading @babel/polyfill, fuse.js, etc. which isn't strictly needed for src/icons.js. Installing akar-icons shouldn't force me to also install the dependencies needed to run akaricons.com.

I recommend using yarn workspaces (or something similar, like lerna) to create subprojects in this repo: akar-icons containing just the icon code (the thing that will be deployed to npm), and akar-icons-app containing the code to serve akaricons.com.

[BUG] Can't resolve prop-types

When building my project with akar-icons, I get the error message

Module not found: Can't resolve 'prop-types'

I think you need to add prop-types as a dependency. Also, I don't see any errors yet, but you should probably add react as a peerDependency.

[ICON REQUEST] receiving hands

Describe the icon you'd like to be added
A clear and concise description of what you want to have.

Sample icon
Attach any samples/screenshots here.

[ICON REQUEST]

Describe the icon you'd like to be added
A double check. In Material Icons it is called "done all".

Sample icon
baseline_done_all_black_24dp

[BUG] Unable to import the icons in the latest version

Describe the bug
The new version seems broken, not able to import any icons.

Module '"akar-icons"' has no exported member 'LinkedinFill'.ts(2305)

To Reproduce
Unable to import the Icons in the latest version

Expected behavior
Should be able to import the Icons

Screenshots
Screen Shot 2022-03-12 at 4 07 45 AM
Screen Shot 2022-03-12 at 4 07 59 AM

Desktop (please complete the following information):

  • OS: macOS Latest
  • Browser Edge
  • Version 99

[ICON REQUEST]

Describe the icon you'd like to be added
A clear and concise description of what you want to have.

Sample icon
Attach any samples/screenshots here.

[ICON REQUEST]

Describe the icon you'd like to be added
Codepen Icon

Sample icon

images

[ICON REQUEST] A FILLED pointer

Describe the icon you'd like to be added
A filled pointer
Just fill the 'x' in backspace-fill would be great ๐Ÿ˜„

Sample icon
Snipaste_2021-08-03_12-17-42
ScreenshotsSnipaste_2021-08-03_12-17-29

[ ICON REQUEST ]

Describe the icon you'd like to be added
Hey!
I think you can add circle and RSS icon for your project. Thx

Sample icon
Circle
image

RSS
image

[ICON REQUEST] Music

Describe the icon you'd like to be added
An icon depicting something like music notes, CDs etc.

Sample icon
image
image
FontAwesome equivalents.

General Improvements

A few things (feel free to break these out into separate issues):

  • #56
  • IMO You should avoid setting display: block on the icon element. Icons are not necessarily block elements; someone might want to use them inline (in my case, inside a <button>). Currently working around with svg { display: initial; }

[ICON REQUEST] Birthday cake

Describe the icon you'd like to be added
A cake icon used to highlight birthday's or a significant date.

Sample icon
Attach any samples/screenshots here.

[ICON REQUEST]

Describe the icon you'd like to be added
Outlined github logo

Sample icon
image

[ICON REQUEST]

Describe the icon you'd like to be added
A clear and concise description of what you want to have.

Sample icon
Attach any samples/screenshots here.

[ICON REQUEST] Wineglas

Describe the icon you'd like to be added
Would be nice to have a Wineglas Icon

Sample icon
Bildschirmfoto 2021-08-18 um 13 21 30

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.