jepso-ci / browser-logos

A collection of SVG logos for different web-browsers
3 stars 3 forks source link

Build Status

browser-logos

A collection of SVG logos for different web-browsers:

demo

Usage

For each of ie, chrome, firefox, opera, android and apple, you can do the following:

var logos = require('browser-logos');

//get the default svg text, e.g. for use in an image tag:
//  <image src="https://github.com/jepso-ci/browser-logos/raw/master/ie.svg" />
//by default it will have width and height of 256 and this
//will scale properly if you add width/height properties
//to the image tag
logos.ie();

//get an image which is scaled to specified dimensions (for use inline in another svg):
logos.ie({
  x: 0,
  y: 0,
  width: 100,
  height: 100
});

Sources

The original SVG logos, which have later been simplified by hand, can be downloaded here:

So far I only have a png for Safari here