https://github.com/httpstersk/social-media-icons
A Polymer element with a set of scalable social media icons
https://github.com/httpstersk/social-media-icons
Last synced: 4 months ago
JSON representation
A Polymer element with a set of scalable social media icons
- Host: GitHub
- URL: https://github.com/httpstersk/social-media-icons
- Owner: httpstersk
- Created: 2014-05-05T18:36:17.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-08-07T20:07:35.000Z (almost 10 years ago)
- Last Synced: 2026-01-14T21:59:07.343Z (6 months ago)
- Language: HTML
- Size: 81.1 KB
- Stars: 18
- Watchers: 5
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# <social-media-icons>
> A Polymer element with a set of scalable social media icons

## Demo
[Check it live!](http://hejty.github.io/demos/social-media-icons/)
## Install
Install the component using [Bower](http://bower.io/):
```sh
$ bower install social-media-icons --save
```
Or [download as ZIP](https://github.com/hejty/social-media-icons/archive/master.zip).
## Usage
1. Import Web Components' polyfill:
```html
```
2. Import Custom Element:
```html
```
3. Start using it!
```html
```
## Options
Attribute | Options | Default | Description
--- | --- | --- | ---
`icon` | `dribbble`, `facebook`, `github`, `googleplus`, `instagram`, `lastfm`, `linkedin`, `medium`, `quora`, `pinterest`, `skype`, `spotify`, `stumbleupon`, `tumblr`, `twitter`, `youtube`, `vimeo`, `vine` | `github` | The `icon` attribute grabs a vector-shaped logo of social media you choose
`size` | *int* | `32` | The `size` attribute sets a size of an element
`color` | *hex* | - | The `color` attribute fills the shape with a color you choose
`title` | *string* | - | The `title` attribute sets the title that will be displayed as alternative text or hint
## Example
```html
```
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request ;)
## History
For detailed changelog, check [Releases](https://github.com/hejty/social-media-icons/releases).
## License
[MIT License](http://opensource.org/licenses/MIT)