GithubHelp home page GithubHelp logo

iconic / open-iconic Goto Github PK

View Code? Open in Web Editor NEW
3.6K 112.0 421.0 2.32 MB

An open source icon set with 223 marks in SVG, webfont and raster formats

Home Page: http://useiconic.com/open

License: Other

CSS 100.00%

open-iconic's Introduction

Open Iconic is the open source sibling of Iconic. It is a hyper-legible collection of 223 icons with a tiny footprint—ready to use with Bootstrap and Foundation. View the collection

What's in Open Iconic?

  • 223 icons designed to be legible down to 8 pixels
  • Super-light SVG files - 61.8 for the entire set
  • SVG sprite—the modern replacement for icon fonts
  • Webfont (EOT, OTF, SVG, TTF, WOFF), PNG and WebP formats
  • Webfont stylesheets (including versions for Bootstrap and Foundation) in CSS, LESS, SCSS and Stylus formats
  • PNG and WebP raster images in 8px, 16px, 24px, 32px, 48px and 64px.

Getting Started

For code samples and everything else you need to get started with Open Iconic, check out our Icons and Reference sections.

General Usage

Using Open Iconic's SVGs

We like SVGs and we think they're the way to display icons on the web. Since Open Iconic are just basic SVGs, we suggest you display them like you would any other image (don't forget the alt attribute).

<img src="/open-iconic/svg/icon-name.svg" alt="icon name">

Using Open Iconic's SVG Sprite

Open Iconic also comes in a SVG sprite which allows you to display all the icons in the set with a single request. It's like an icon font, without being a hack.

Adding an icon from an SVG sprite is a little different than what you're used to, but it's still a piece of cake. Tip: To make your icons easily style able, we suggest adding a general class to the <svg> tag and a unique class name for each different icon in the <use> tag.

<svg class="icon">
  <use xlink:href="open-iconic.svg#account-login" class="icon-account-login"></use>
</svg>

Sizing icons only needs basic CSS. All the icons are in a square format, so just set the <svg> tag with equal width and height dimensions.

.icon {
  width: 16px;
  height: 16px;
}

Coloring icons is even easier. All you need to do is set the fill rule on the <use> tag.

.icon-account-login {
  fill: #f00;
}

To learn more about SVG Sprites, read Chris Coyier's guide.

Using Open Iconic's Icon Font...

…with Bootstrap

You can find our Bootstrap stylesheets in font/css/open-iconic-bootstrap.{css, less, scss, styl}

<link href="/open-iconic/font/css/open-iconic-bootstrap.css" rel="stylesheet">
<span class="oi oi-icon-name" title="icon name" aria-hidden="true"></span>
…with Foundation

You can find our Foundation stylesheets in font/css/open-iconic-foundation.{css, less, scss, styl}

<link href="/open-iconic/font/css/open-iconic-foundation.css" rel="stylesheet">
<span class="fi-icon-name" title="icon name" aria-hidden="true"></span>
…on its own

You can find our default stylesheets in font/css/open-iconic.{css, less, scss, styl}

<link href="/open-iconic/font/css/open-iconic.css" rel="stylesheet">
<span class="oi" data-glyph="icon-name" title="icon name" aria-hidden="true"></span>

License

Icons

All code (including SVG markup) is under the MIT License.

Fonts

All fonts are under the SIL Licensed.

open-iconic's People

Contributors

fdanielsen avatar protodave avatar somerandomdude 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  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

open-iconic's Issues

Icon varieties

Do you accept new icon requests? Are you planning to add more sets?
Some common sets would be great. Especially for forums.

Ion-log-in and ion-log-out icons

I'm not sure if this an issue or intentional...

I suppose we can just flip the icons, but the log-in and log-out icons are duplicated. They do have different codes.

image

image

Hope this helps.

Thanks

Joe (Creatively.Me)

[Request] Icon representing video/webcam disabled

I've looked through a few icon sets and I haven't found a decent icon for representing a video/webcam stream that is disabled/turned off :(

Is this supposed to be equivalent to somehow combining the ban icon along with video? If yes, how does one combine icons? If not, I'm not sure what the process is to request an icon, but I'm creating this issue hoping to find support for this missing icon!

Using iconic in bootstrap buttons

Hello,
today I tried to use open-iconic inside a button in bootstrap v4. Problem is: when applying the class .oi, the button is slightly shifted downward (.oi has top: 1px in it). This is a bit of a problem when using .input-group-append or .input-group-prepend.

Example fiddle produces the following image (note the button shifted downward)

open-iconic-shift

I also tried placing the text inside a <span> element, but this would raise another set of issues while using bootstrap. So, I merely added a CSS rule to my stylesheet:

.oi { top: 0px; }

This being said, I don't understand the purpose of having 1px offset on .oi classes, but I am suspecting that I should not be using things in this way, or that open-iconic shall remove that offset when used inside a button.

Thanks
best regards

CSS3111 in IE11

Started getting a CSS3111: @font-face encountered unknown error. recently on IE11, there's no more description about the issue:

This is in a blazor app with ie11 version 20H2

image

Not using same unicode character as other fonts

		HTML Code
		Speaker   | Speaker Low | Speaker High<br/>
		&#128264; |   &#128265; | &#128266;   [Segoe UI Symbol, Segoe UI Emoji, EmojiOne Mozilla]<br/>
		&#57559;  |   &#57558;  | &#57557;    [Open Iconic]

I realize you just can not change it to match, but making both codes refer to the same image should be possible right?

Support WOFF2 font

You support EOT and SVG for dead browsers, so you might as well save bandwidth for new ones.

CDN

I am considering to switch from FontAwesome to Iconic if it is easy because Bootstrap recommends so.

Please link to a hosted CDN version of Iconic on your documentation because that will be easier for me to deploy than downloading and hosting my own script.

Reference SVG Spritemap from CSS

How to do this from with CSS url() property value?

<svg class="icon">
  <use xlink:href="open-iconic.svg#account-login" class="icon-account-login"></use>
</svg>

White version

It would be cool if you could also provide a white version of the icons! Do you think that's possible? =)

iconic-file-zip not working

Hello, I have Iconic pro. I am trying to use the iconic-file-zip icon per the instructions below:

https://useiconic.com/icons/file/#icon-font

Iconic may be all about SVG, but it also comes with a killer font. For the full skinny, read our icon font and Bootstrap/Foundation guides.

Unfortunately this only displays a blank file icon, not the ZIP file icon. I have tested most of the other file types with the same results. All other icons appear to be working as expected. Please advise.

[Request] Save icon

The floppy disk icon is the most quintessential example of an icon in my mind, yet it's surprisingly missing from this set.

The closest icon to a "save" action I see is the hard drive icon, but for "regular" users two blocks with a dot won't mean much.

Missing files in package

Hi, Is this library intended to be available through npm?

I ran -
npm install --save @icon/open-iconic

but the package installed doesn't have files referenced in the documentation, like the /fonts/ folder:

open-iconic

Thanks

Can't resize through bootstrap file

I'm currently working through a Bootstrap 4 project:
I have the following iconic style-sheet linked within the <head> of my page:

<link rel="stylesheet" href="/../inc/icons/open-iconic/font/css/open-iconic-bootstrap.css" >

and using a briefcase icon like so...

<span class="oi oi-briefcase"></span>

I now see the icon on my page, but in my .scss file, the following has no impact on sizing the icon larger...

   .oi-briefcase {
            width:50px;
            height:50px;
        }

Through developer tools in Chrome, I can see that it's applied to the element and nothing is overriding it. What am I doing wrong or missing?

package.json license array format is deprecated and problematic for tool usage

package.json currently lists the projects licenses in an array which is deprecated by npmjs:

Some old packages used license objects or a “licenses” property containing an array of license objects:
...

Those styles are now deprecated. Instead, use SPDX expressions

Projects like https://github.com/microsoft/license-checker-webpack-plugin pick up the license here as either MIT or SIL (generating an incorrect SPDX expression of "(MIT OR OFL-1.1)").

The following changes should be made to this repository:

  1. remove package.json/licenses member
  2. add package.json/license member with value "(MIT AND OFL-1.1)"
  3. rename ICON-LICENSE as LICENSE.MIT
  4. rename FONT-LICENSE as LICENSE.OFL-1.1

[Request] Phone is too modern

My users and I are too adjusted to the handset phone icon. The thing is bent kinda like a C but with bell shapes at both ends.

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.