Files
SuperTinyIcons/README.md
2018-01-28 09:18:49 +00:00

254 lines
16 KiB
Markdown

# Super Tiny Social Icons
Under 1KB each! Super Tiny Web Icons are minuscule SVG versions of your favourite logos. The average size is *under* 465 bytes!
The logos have a 512x512 viewbox, they will fit in a circle with radius 256. They will scale up and down to suit your needs.
Originally created for my contact page - [https://edent.tel/](https://edent.tel/)
## How Small?
| 527 Bytes SVG | 2,956 Bytes PNG | 422 Bytes SVG | 3,373 Bytes PNG | 250 Bytes SVG | 3,145 Bytes PNG |
|------ |----------- |------ |---------- |------ |----------- |
| <img src="https://edent.github.io/SuperTinyIcons/images/svg/github.svg" width="100" /> | <img src="https://edent.github.io/SuperTinyIcons/images/png/github.png" width="100" /> | <img src="https://edent.github.io/SuperTinyIcons/images/svg/twitter.svg" width="100" /> | <img src="https://edent.github.io/SuperTinyIcons/images/png/twitter.png" width="100" /> | <img src="https://edent.github.io/SuperTinyIcons/images/svg/flickr.svg" width="100" /> | <img src="https://edent.github.io/SuperTinyIcons/images/png/flickr.png" width="100" /> |
## What's Available so far?
<table>
<tr>
<td><img src="images/svg/hackernews.svg" width="125" title="Hacker News" /><br>229 Bytes</td>
<td><img src="images/svg/flickr.svg" width="125" title="flickr" /><br>250 Bytes</td>
<td><img src="images/svg/facebook.svg" width="125" title="Facebook" /><br>283 Bytes</td>
<td><img src="images/svg/tumblr.svg" width="125" title="tumblr" /><br>422 Bytes</td>
<td><img src="images/svg/twitter.svg" width="125" title="Twitter" /><br>422 Bytes</td>
<td><img src="images/svg/whatsapp.svg" width="125" title="WhatsApp" /><br>589 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/dropbox.svg" width="125" title="Dropbox" /><br>289 Bytes</td>
<td><img src="images/svg/telegram.svg" width="125" title="Telegram" /><br>419 Bytes</td>
<td><img src="images/svg/linkedin.svg" width="125" title="LinkedIn" /><br>370 Bytes</td>
<td><img src="images/svg/stackoverflow.svg" width="125" title="StackOverflow" /><br>329 Bytes</td>
<td><img src="images/svg/instagram.svg" width="125" title="Instagram" /><br>345 Bytes</td>
<td><img src="images/svg/wordpress.svg" width="125" title="WordPress" /><br>513 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/skype.svg" width="125" title="Skype" /><br>487 Bytes</td>
<td><img src="images/svg/reddit.svg" width="125" title="Reddit" /><br>607 Bytes</td>
<td><img src="images/svg/pinterest.svg" width="125" title="Pinterest" /><br>526 Bytes</td>
<td><img src="images/svg/paypal.svg" width="125" title="PayPal" /><br>548 Bytes</td>
<td><img src="images/svg/github.svg" width="125" title="GitHub" /><br>527 Bytes</td>
<td><img src="images/svg/wikipedia.svg" width="125" title="Wikipedia" /><br>601 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/vimeo.svg" width="125" title="Vimeo" /><br>376 Bytes</td>
<td><img src="images/svg/slideshare.svg" width="125" title="SlideShare" /><br>672 Bytes</td>
<td><img src="images/svg/soundcloud.svg" width="125" title="SoundCloud" /><br>959 Bytes</td>
<td><img src="images/svg/spotify.svg" width="125" title="Spotify" /><br>436 Bytes</td>
<td><img src="images/svg/snapchat.svg" width="125" title="SnapChat" /><br>649 Bytes</td>
<td><img src="images/svg/amazon.svg" width="125" title="Amazon" /><br>673 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/steam.svg" width="125" title="Steam" /><br>455 Bytes</td>
<td><img src="images/svg/google.svg" width="125" title="Google" /><br>484 Bytes</td>
<td><img src="images/svg/google_plus.svg" width="125" title="Google Plus" /><br>397 Bytes</td>
<td><img src="images/svg/wechat.svg" width="125" title="WeChat" /><br>639 Bytes</td>
<td><img src="images/svg/youtube.svg" width="125" title="YouTube" /><br>359 Bytes</td>
<td><img src="images/svg/pdf.svg" width="125" title="PDF" /><br>674 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/vk.svg" width="125" title="VK" /><br>534 Bytes</td>
<td><img src="images/svg/rss.svg" width="125" title="RSS" /><br>309 Bytes</td>
<td><img src="images/svg/mail.svg" width="125" title="mail" /><br>572 Bytes</td>
<td><img src="images/svg/email.svg" width="125" title="email" /><br>343 Bytes</td>
<td><img src="images/svg/mastodon.svg" width="125" title="Mastodon" /><br>550 Bytes</td>
<td><img src="images/svg/wire.svg" width="125" title="Wire" /><br>286 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/tox.svg" width="125" title="Tox" /><br>494 Bytes</td>
<td><img src="images/svg/gitlab.svg" width="125" title="GitLab" /><br>423 Bytes</td>
<td><img src="images/svg/phone.svg" width="125" title="Phone" /><br>591 Bytes</td>
<td><img src="images/svg/lock.svg" width="125" title="Lock" /><br>393 Bytes</td>
<td><img src="images/svg/html5.svg" width="125" title="HTML5" /><br>399 Bytes</td>
<td><img src="images/svg/meetup.svg" width="125" title="Meetup" /><br>524 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/line.svg" width="125" title="Line" /><br>478 Bytes</td>
<td><img src="images/svg/lastpass.svg" width="125" title="LastPass" /><br>320 Bytes</td>
<td><img src="images/svg/windows.svg" width="125" title="Microsoft Windows" /><br>270 Bytes</td>
<td><img src="images/svg/digidentity.svg" width="125" title="Digidentity" /><br>389 Bytes</td>
<td><img src="images/svg/ubuntu.svg" width="125" title="Ubuntu" /><br>492 Bytes</td>
<td><img src="images/svg/bitbucket.svg" width="125" title="Atlassian BitBucket" /><br>684 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/apple.svg" width="125" title="Apple" /><br>417 Bytes</td>
<td><img src="images/svg/npm.svg" width="125" title="NPM" /><br>329 Bytes</td>
<td><img src="images/svg/docker.svg" width="125" title="Docker" /><br>465 Bytes</td>
<td><img src="images/svg/symantec.svg" width="125" title="Symantec" /><br>754 Bytes</td>
<td><img src="images/svg/yubico.svg" width="125" title="Yubico" /><br>309 Bytes</td>
<td><img src="images/svg/keybase.svg" width="125" title="Keybase" /><br>647 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/ebay.svg" width="125" title="eBay" /><br>819 Bytes</td>
<td><img src="images/svg/evernote.svg" width="125" title="Evernote" /><br>704 Bytes</td>
<td><img src="images/svg/kickstarter.svg" width="125" title="Kickstarter" /><br>288 Bytes</td>
<td><img src="images/svg/yahoo.svg" width="125" title="Yahoo!" /><br>379 Bytes</td>
<td><img src="images/svg/bitcoin.svg" width="125" title="BitCoin" /><br>529 Bytes</td>
<td><img src="images/svg/bluetooth.svg" width="125" title="bluetooth" /><br>253 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/ibm.svg" width="125" title="IBM" /><br>570 Bytes</td>
<td><img src="images/svg/yammer.svg" width="125" title="Yammer" /><br>479 Bytes</td>
<td><img src="images/svg/android.svg" width="125" title="Android" /><br>551 Bytes</td>
<td><img src="images/svg/authy.svg" width="125" title="Authy" /><br>365 Bytes</td>
<td><img src="images/svg/blogger.svg" width="125" title="Blogger" /><br>354 Bytes</td>
<td><img src="images/svg/cloudflare.svg" width="125" title="CloudFlare" /><br>500 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/codepen.svg" width="125" title="CodePen" /><br>375 Bytes</td>
<td><img src="images/svg/digitalocean.svg" width="125" title="Digital Ocean" /><br>323 Bytes</td>
<td><img src="images/svg/discord.svg" width="125" title="Discord" /><br>505 Bytes</td>
<td><img src="images/svg/medium.svg" width="125" title="Medium" /><br>379 Bytes</td>
<td><img src="images/svg/airbnb.svg" width="125" title="AirBnB" /><br>583 Bytes</td>
<td><img src="images/svg/wifi.svg" width="125" title="Wi-Fi" /><br>683 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/delicious.svg" width="125" title="delicious" /><br>270 Bytes</td>
<td><img src="images/svg/disqus.svg" width="125" title="Disqus" /><br>376 Bytes</td>
<td><img src="images/svg/ghost.svg" width="125" title="Ghost" /><br>259 Bytes</td>
<td><img src="images/svg/opensource.svg" width="125" title="Open Source" /><br>262 Bytes</td>
<td><img src="images/svg/patreon.svg" width="125" title="Patreon" /><br>250 Bytes</td>
<td><img src="images/svg/trello.svg" width="125" title="Trello" /><br>276 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/intel.svg" width="125" title="intel" /><br>948 Bytes</td>
<td><img src="images/svg/badoo.svg" width="125" title="Badoo" /><br>297 Bytes</td>
<td><img src="images/svg/samsunginternet.svg" width="125" title="Samsung Internet" /><br>384 Bytes</td>
<td><img src="images/svg/laravel.svg" width="125" title="Laravel" /><br>583 Bytes</td>
<td><img src="images/svg/google_play.svg" width="125" title="Google Play" /><br>438 Bytes</td>
<td><img src="images/svg/gmail.svg" width="125" title="Gmail" /><br>641 Bytes</td>
</tr>
<tr>
<td><img src="images/svg/twilio.svg" width="125" title="Twilio" /><br>377 Bytes</td>
<td><img src="images/svg/plex.svg" width="125" title="Plex" /><br>221 Bytes</td>
<td><img src="images/svg/slack.svg" width="125" title="Slack" /><br>853 Bytes</td>
<td><img src="images/svg/xing.svg" width="125" title="Xing" /><br>362 Bytes</td>
<td><img src="images/svg/pinboard.svg" width="125" title="Pinboard" /><br>258 Bytes</td>
<td><img src="images/svg/internet_archive.svg" width="125" title="Internet Archive" /><br>846 Bytes</td>
<tr>
<tr>
<td><img src="images/svg/baidu.svg" width="125" title="baidu" /><br>799 Bytes</td>
<tr>
</table>
## Why so smallious?
Bytes cost money. They cost money to store, transport, and process. Simplicity should be our goal in all endeavours.
## Scream if you want to go smaller
These files were edited by hand in Inkscape, then were minified using [svgo](https://github.com/svg/svgo) and [svgcleaner](https://github.com/RazrFalcon/svgcleaner). Further smallification may be possible. Try it!
* Each of these has an `xmlns="http://www.w3.org/2000/svg"` in the `<svg>` tag. This isn't strictly necessary - but some web browsers won't display them as an image without it.
* Rounded corners can be dropped - `rx="80"` - the effect can be done in CSS if you want.
* The background colour can also be excluded if you're including it elsewhere.
* Colours can be simplified. `#FF0000` becomes `red`.
* The precision of the paths is *mostly* 0 decimal places. A few logos have 1 or 2 dp to make them look more accurate. The precision can be reduced if necessary.
Think you can make them smaller? Tell me by raising an issue!
Want more icons? Tell me by raising an issue!
Think the icons look wrong? [Compare them against the official logos](https://github.com/edent/SuperTinyIcons/blob/master/images/reference/index.md). If they still look wrong, tell me by raising an issue!
**New!** Icons also available in [Android Vector Drawables](https://developer.android.com/guide/topics/graphics/vector-drawable-resources.html) so you can easily use them in Android apps. Converted using https://inloop.github.io/svg2android/ - not guaranteed to be under 1KB.
## Submitting Icons
I'd *love* you to submit something 😸 The rules are simple, your icon must:
* be **under** 1024 bytes. That is, the maximum file size is 1023 bytes. No arguments.
* fit inside a circle with radius 256 pixels. Set `rx="50%"` to check.
* have solid colours. No gradients or fades.
* represent a popular service's current logo.
### Template
At a minimum, your icon needs these components:
```
<svg
xmlns="http://www.w3.org/2000/svg"
aria-label="..." role="img"
viewBox="0 0 512 512">
<rect
width="512" height="512"
rx="15%"
fill="#fff"/>
...
</svg>
```
### Icon accessibility
The super tiny icons are accessible by default. Each icon has:
* `role="img"`, to expose the ```<svg>``` elements as images in the browser's accessibility tree
* `aria-label="XYZ"` (where XYZ is the icon's brand name), to give the icon an accessible name
`Note:` if using the ```<svg>``` as the `src` for an ```<img>``` element, the `alt` attribute should still be used on the ```<img>``` element because the ARIA is not recognised in this context.
### Guidelines
This is the standard guideline. Use this to help with sizing your icons and they will look good no matter what border radius is chosen.
<img src="https://edent.github.io/SuperTinyIcons/images/guidelines/guideline.svg" width="256" alt="A template for logos" />
* **Green** is the safe zone, where the main body of the icon should be.
* **Yellow** is like a road shoulder, it is there if more space is needed. It should be used for protruding elements, like corners or ornaments.
* **Red** is off limits. It should not be touched by the icons. Red is also how a circular icon would look.
To see how the logos look, you can [play around with the corner radius size using our interactive tool](https://edent.github.io/SuperTinyIcons/radius.html)
## Licenses
The majority of these vector logos are based on someone else's work.
* [Social Media Icons by Aha-Soft](https://www.iconfinder.com/iconsets/social-flat-rounded-rects) - CC-BY
* [Phone Icon](https://www.iconfinder.com/icons/1807538/phone_icon#size=128) - Free
* [Lock Icon](https://www.iconfinder.com/icons/1814107/lock_padlock_secure_icon#size=512) - MIT
* [Wire Logo](https://commons.wikimedia.org/wiki/File:Wire_software_logo.svg) - Public Domain
* [Signal Logo](https://github.com/WhisperSystems/Signal-iOS/blob/master/Signal/Images.xcassets/logoSignal.imageset/logoSignal.pdf) - GPLv3
* [RSS Icon](https://commons.wikimedia.org/wiki/File:Generic_Feed-icon.svg) - MPL 1.1
* [PDF Icon](https://www.iconfinder.com/iconsets/line-icons-set) - Free
* [Google+](https://commons.wikimedia.org/wiki/File:Google_Plus_logo_2015.svg) - Public Domain
* [Google](http://svgshare.com/s/q)
* [Mastodon](https://github.com/tootsuite/mastodon/blob/0ad694f96b7f0e951950e7525bde52cd11454cb2/app/assets/images/logo.svg) - AGPLv3
* [GitLab](https://about.gitlab.com/press/)
* [HTML5 Shield](https://www.w3.org/html/logo/) - CC-BY
* [NPM Logo](https://commons.wikimedia.org/wiki/File:Npm-logo.svg) - CC-BY
* [Docker Logo](https://github.com/docker/docker.github.io/blob/master/LICENSE) - Apache
* [Steam](https://commons.wikimedia.org/wiki/File:Steam_icon_logo.svg)
* [Symantec](https://commons.wikimedia.org/wiki/File:Symantec_logo10.svg)
* [Yubico](https://github.com/Yubico/yubikey-manager-qt/blob/master/resources/icons/ykman.png) - BSD
* [Keybase](https://github.com/keybase/client/blob/master/shared/images/iconfont/kb-iconfont-keybase-16.svg) - BSD
* [ebay](https://commons.wikimedia.org/wiki/File:EBay_logo.svg)
* [Kickstarter](https://www.kickstarter.com/help/brand_assets)
* [Yahoo!](https://commons.wikimedia.org/wiki/File:Yahoo!_logo.svg)
* [BitCoin](https://commons.wikimedia.org/wiki/File:Bitcoin_logo.svg) - CC0
* [Bluetooth](https://commons.wikimedia.org/wiki/File:Bluetooth.svg)
* [Blogger](https://commons.wikimedia.org/wiki/File:Blogger_icon.svg)
* [Medium](https://medium.design/logos-and-brand-guidelines-f1a01a733592)
* [Ghost](https://commons.wikimedia.org/wiki/File:Ghost-Logo.svg)
* [tumblr](https://www.tumblr.com/logo)
* [intel](https://commons.wikimedia.org/wiki/File:Intel-logo.svg)
* [Badoo](https://team.badoo.com/new/)
* [YouTube](https://www.youtube.com/yt/about/brand-resources/#logos-icons-colors)
* [Google Play](https://commons.wikimedia.org/wiki/File:Google_Play_symbol_2016.svg)
* [Gmail](https://commons.wikimedia.org/wiki/File:Gmail_Icon.svg)
* [Samsung Internet](https://github.com/edent/SuperTinyIcons/pull/74/commits/8824bdaf1346a472ab425347f958e8e64c0948ee)
* [Plex](https://github.com/plexinc/plex-media-player/blob/master/resources/images/icon.svg) - GPLv2
From [SVGporn](https://github.com/gilbarbara/logos/) - CC0
IBM, Yammer, Android, Authy, ClourFlare, CodePen, DigitalOcean, Discord, AirBnB, WiFi, delicious, opensource, Patreon
Where possible, they retain their original licenses. Some logos may be subject to copyright and trademark laws, but these files are small enough to memorise.