{"id":19540603,"url":"https://github.com/polymerelements/paper-tabs","last_synced_at":"2025-08-22T11:32:03.160Z","repository":{"id":31322785,"uuid":"34885279","full_name":"PolymerElements/paper-tabs","owner":"PolymerElements","description":"Material Design tabs","archived":false,"fork":false,"pushed_at":"2023-10-16T15:55:57.000Z","size":552,"stargazers_count":65,"open_issues_count":48,"forks_count":52,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-12-13T16:50:28.818Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.webcomponents.org/element/PolymerElements/paper-tabs","language":"HTML","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,"publiccode":null,"codemeta":null}},"created_at":"2015-05-01T01:37:20.000Z","updated_at":"2023-07-25T13:56:03.000Z","dependencies_parsed_at":"2024-06-18T13:33:07.764Z","dependency_job_id":"0874f077-23ff-470d-a2b5-8bade0a6699a","html_url":"https://github.com/PolymerElements/paper-tabs","commit_stats":{"total_commits":315,"total_committers":52,"mean_commits":"6.0576923076923075","dds":0.7587301587301587,"last_synced_commit":"d3aa742dceb3a93b7eff921a64c62b7767adb54a"},"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Fpaper-tabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Fpaper-tabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Fpaper-tabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Fpaper-tabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PolymerElements","download_url":"https://codeload.github.com/PolymerElements/paper-tabs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230589687,"owners_count":18249778,"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-11-11T03:05:06.213Z","updated_at":"2024-12-20T13:07:49.129Z","avatar_url":"https://github.com/PolymerElements.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Published on NPM](https://img.shields.io/npm/v/@polymer/paper-tabs.svg)](https://www.npmjs.com/package/@polymer/paper-tabs)\n[![Build status](https://travis-ci.org/PolymerElements/paper-tabs.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-tabs)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://webcomponents.org/element/@polymer/paper-tabs)\n\n## \u0026lt;paper-tabs\u0026gt;\n\n`\u003cpaper-tabs\u003e` makes it easy to explore and switch between different views or\nfunctional aspects of an app, or to browse categorized data sets.\n\nSee: [Documentation](https://www.webcomponents.org/element/@polymer/paper-tabs),\n  [Demo](https://www.webcomponents.org/element/@polymer/paper-tabs/demo/demo/index.html).\n\n## Usage\n\n### Installation\n\n```\nnpm install --save @polymer/paper-tabs\n```\n\n### In an HTML file\n\n```html\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript type=\"module\"\u003e\n      import '@polymer/paper-tabs/paper-tabs.js';\n      import '@polymer/paper-tabs/paper-tab.js';\n    \u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cpaper-tabs selected=\"0\" scrollable\u003e\n      \u003cpaper-tab\u003eTab 0\u003c/paper-tab\u003e\n      \u003cpaper-tab\u003eTab 1\u003c/paper-tab\u003e\n      \u003cpaper-tab\u003eTab 2\u003c/paper-tab\u003e\n      \u003cpaper-tab\u003eTab 3\u003c/paper-tab\u003e\n    \u003c/paper-tabs\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/paper-tabs/paper-tabs.js';\nimport '@polymer/paper-tabs/paper-tab.js';\n\nclass ExampleElement extends PolymerElement {\n  static get template() {\n    return html`\n      \u003cpaper-tabs selected=\"0\" scrollable\u003e\n        \u003cpaper-tab\u003eTab 0\u003c/paper-tab\u003e\n        \u003cpaper-tab\u003eTab 1\u003c/paper-tab\u003e\n        \u003cpaper-tab\u003eTab 2\u003c/paper-tab\u003e\n        \u003cpaper-tab\u003eTab 3\u003c/paper-tab\u003e\n      \u003c/paper-tabs\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/paper-tabs\ncd paper-tabs\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%2Fpaper-tabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolymerelements%2Fpaper-tabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolymerelements%2Fpaper-tabs/lists"}