{"id":13667017,"url":"https://github.com/PolymerElements/iron-iconset","last_synced_at":"2025-04-26T15:32:05.772Z","repository":{"id":30510055,"uuid":"34064482","full_name":"PolymerElements/iron-iconset","owner":"PolymerElements","description":"Represents a source of icons expressed as a raster sprite sheet","archived":true,"fork":false,"pushed_at":"2023-10-16T14:02:55.000Z","size":369,"stargazers_count":13,"open_issues_count":9,"forks_count":8,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-18T13:07:03.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PolymerElements.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-04-16T15:36:30.000Z","updated_at":"2024-12-19T07:13:14.000Z","dependencies_parsed_at":"2024-03-31T22:44:51.146Z","dependency_job_id":null,"html_url":"https://github.com/PolymerElements/iron-iconset","commit_stats":{"total_commits":144,"total_committers":25,"mean_commits":5.76,"dds":0.6319444444444444,"last_synced_commit":"f618f056b45cf505f3eb9ffe6a08bb45b6bd02b0"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Firon-iconset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Firon-iconset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Firon-iconset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Firon-iconset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PolymerElements","download_url":"https://codeload.github.com/PolymerElements/iron-iconset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251008721,"owners_count":21522161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T07:00:25.010Z","updated_at":"2025-04-26T15:32:05.473Z","avatar_url":"https://github.com/PolymerElements.png","language":"JavaScript","funding_links":[],"categories":["Motivation"],"sub_categories":[],"readme":"[![Published on NPM](https://img.shields.io/npm/v/@polymer/iron-iconset.svg)](https://www.npmjs.com/package/@polymer/iron-iconset)\n[![Build status](https://travis-ci.org/PolymerElements/iron-iconset.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-iconset)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://webcomponents.org/element/@polymer/iron-iconset)\n\n## \u0026lt;iron-iconset\u0026gt;\n\nThe `iron-iconset` element allows users to define their own icon sets.\n\nSee: [Documentation](https://www.webcomponents.org/element/@polymer/iron-iconset),\n  [Demo](https://www.webcomponents.org/element/@polymer/iron-iconset/demo/demo/index.html).\n\n## Usage\n\n### Installation\n\n```\nnpm install --save @polymer/iron-iconset\n```\n\n### In an HTML file\n\n```html\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript type=\"module\"\u003e\n      import '@polymer/iron-iconset/iron-iconset.js';\n    \u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003ciron-iconset id=\"my-icons\" src=\"my-icons.png\" width=\"96\" size=\"24\"\n        icons=\"location place starta stopb bus car train walk\"\u003e\n    \u003c/iron-iconset\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n### In a Polymer 3 element\n\n```js\nimport {PolymerElement} from '@polymer/polymer/polymer-element.js';\nimport {html} from '@polymer/polymer/lib/utils/html-tag.js';\n\nimport '@polymer/iron-iconset/iron-iconset.js';\n\nclass ExampleElement extends PolymerElement {\n  static get template() {\n    return html`\n      \u003ciron-iconset id=\"my-icons\" src=\"my-icons.png\" width=\"96\" size=\"24\"\n          icons=\"location place starta stopb bus car train walk\"\u003e\n      \u003c/iron-iconset\u003e\n    `;\n  }\n}\n\ncustomElements.define('example-element', ExampleElement);\n```\n\n## Contributing\n\nIf you want to send a PR to this element, here are the instructions for running\nthe tests and demo locally:\n\n### Installation\n\n```sh\ngit clone https://github.com/PolymerElements/iron-iconset\ncd iron-iconset\nnpm install\nnpm install -g polymer-cli\n```\n\n### Running the demo locally\n\n```sh\npolymer serve --npm\nopen http://127.0.0.1:\u003cport\u003e/demo/\n```\n\n### Running the tests\n\n```sh\npolymer test --npm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPolymerElements%2Firon-iconset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPolymerElements%2Firon-iconset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPolymerElements%2Firon-iconset/lists"}