{"id":19076184,"url":"https://github.com/htmlelements/smart-tabs","last_synced_at":"2025-04-30T01:46:35.904Z","repository":{"id":57161059,"uuid":"134709896","full_name":"HTMLElements/smart-tabs","owner":"HTMLElements","description":"Smart Tabs Custom HTML Element https://www.htmlelements.com/","archived":false,"fork":false,"pushed_at":"2020-01-10T06:50:44.000Z","size":318,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T12:23:27.033Z","etag":null,"topics":["customelements","demo","es6-tabs","eslint","javascript-tabs","smart-custom-elements","smart-tabs","tab-component","tab-html-element","tabs","tabs-custom-element","tabs-user-control","tabs-web-component","tabstrip","webcomponents"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HTMLElements.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-24T12:07:40.000Z","updated_at":"2024-04-22T00:17:09.000Z","dependencies_parsed_at":"2022-08-24T08:11:27.929Z","dependency_job_id":null,"html_url":"https://github.com/HTMLElements/smart-tabs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-tabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-tabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-tabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-tabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HTMLElements","download_url":"https://codeload.github.com/HTMLElements/smart-tabs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249462191,"owners_count":21276364,"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":["customelements","demo","es6-tabs","eslint","javascript-tabs","smart-custom-elements","smart-tabs","tab-component","tab-html-element","tabs","tabs-custom-element","tabs-user-control","tabs-web-component","tabstrip","webcomponents"],"created_at":"2024-11-09T01:57:26.699Z","updated_at":"2025-04-18T08:31:45.804Z","avatar_url":"https://github.com/HTMLElements.png","language":null,"readme":"[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/htmlelements/smart-tabs)\n\n# \u0026lt;smart-tabs\u0026gt;\n\n[Live Demo ↗](https://htmlelements.com/demos/tabs/)\n|\n[Documentation ↗](https://www.htmlelements.com/docs/)\n|\n[Installation ↗](https://www.npmjs.com/package/@smarthtmlelements/smarthtmlelements-core)\n\n[\u0026lt;smart-tabs\u0026gt;](https://htmlelements.com/demos/tabs/) is a Tabs Custom HTML Element that make it easy to explore and switch between different views, part of the [Smart HTML Elements](https://htmlelements.com/).\n\n\u003c!--\n```\n\u003ccustom-element-demo\u003e\n  \u003ctemplate\u003e\n    \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"../smart-core/source/smart.element.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"../smart-core/source/smart.tabs.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"stylesheet\" href=\"../smart-core/source/styles/smart.base.css\" type=\"text/css\" /\u003e\n    \u003clink rel=\"stylesheet\" href=\"../smart-core/source/styles/smart.material.css\" type=\"text/css\" /\u003e\n     \u003cnext-code-block\u003e\u003c/next-code-block\u003e\n  \u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n```html\n \u003csmart-tabs class='material'\u003e\n    \u003csmart-tab-item label=\"Tab 1\" selected\u003e\n    // Content goes here.\n    \u003c/smart-tab-item\u003e\n    \u003csmart-tab-item label=\"Tab 2\"\u003e\n    // Content goes here.\n    \u003c/smart-tab-item\u003e\n    \u003csmart-tab-item label=\"Tab 3\"\u003e\n\t// Content goes here.\n    \u003c/smart-tab-item\u003e   \n \u003c/smart-tabs\u003e\n```\n\n[\u003cimg src=\"https://raw.githubusercontent.com/htmlelements/smart-tabs/master/smart-tabs.png\" alt=\"Screenshot of smart-tabs, using the Material theme\"\u003e](https://htmlelements.com/demos/tabs)\n\n## Getting Started\n\nSmart HTML Elements components documentation includes getting started, customization and api documentation topics.\n\n[Getting Started Documentation](https://www.htmlelements.com/docs/tabs/)\n|\n[CSS Documentation](https://www.htmlelements.com/docs/tabs-css/)\n|\n[API Documentation](https://www.htmlelements.com/docs/tabs-api/)\n\n\n## The file structure for Smart HTML Elements\n\n- `source-minified/`\n\n  Javascript files.\n\n- `source-minified/styles/`\n\n  Component CSS Files.\n\n- `demos/`\n\n  Demo files\n\n## Running demos in browser\n\n1. Fork the `Smart-HTML-Elements-Core` repository and clone it locally.\n\n1. Make sure you have [npm](https://www.npmjs.com/) installed.\n\n1. When in the `Smart-HTML-Elements-Core` directory, run `npm install` and then `bower install` to install dependencies.\n\n1. Run a localhost or upload the demo on a web server. Then run:\n\n  - /demos/smart-button/smart-button-overview.htm\n\n\n## Following the coding style\n\nWe are using [ESLint](http://eslint.org/) for linting JavaScript code. \n\n## Creating a pull request\n\n  - Make sure your code is compliant with ESLint\n  - [Submit a pull request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github) with detailed title and description\n  - Wait for response from one of our team members\n\n\n## License\n\nApache License 2.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlelements%2Fsmart-tabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhtmlelements%2Fsmart-tabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlelements%2Fsmart-tabs/lists"}