{"id":26663182,"url":"https://github.com/startpolymer/s-table","last_synced_at":"2025-08-25T08:23:47.239Z","repository":{"id":58231528,"uuid":"82401127","full_name":"StartPolymer/s-table","owner":"StartPolymer","description":"Responsive HTML table extended with Polymer and Material Design.","archived":false,"fork":false,"pushed_at":"2017-02-26T22:05:24.000Z","size":2609,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-02T04:43:14.946Z","etag":null,"topics":["material-design","polymer","responsive-design"],"latest_commit_sha":null,"homepage":"","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/StartPolymer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-18T16:47:01.000Z","updated_at":"2018-07-06T19:03:17.000Z","dependencies_parsed_at":"2022-08-31T00:22:11.242Z","dependency_job_id":null,"html_url":"https://github.com/StartPolymer/s-table","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/StartPolymer/s-table","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartPolymer%2Fs-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartPolymer%2Fs-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartPolymer%2Fs-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartPolymer%2Fs-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StartPolymer","download_url":"https://codeload.github.com/StartPolymer/s-table/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartPolymer%2Fs-table/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272031557,"owners_count":24861688,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["material-design","polymer","responsive-design"],"created_at":"2025-03-25T14:20:13.508Z","updated_at":"2025-08-25T08:23:47.215Z","avatar_url":"https://github.com/StartPolymer.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Published on webcomponents.org][webcomponents-image]][webcomponents-url]\n\n# \\\u003cs-table\\\u003e\n\nResponsive HTML table extended with Polymer and Material Design.\n\n- `\u003cs-table\u003e` is an HTML `\u003ctable\u003e` element that has responsive width and optional attribute for fixed first column.\n- `\u003cs-table-lite\u003e` is an HTML `\u003ctable\u003e` element that don't implement Material Design.\n- `\u003cs-tbody\u003e` and `\u003cs-tr\u003e` are HTML elements extended with `\u003ciron-selector\u003e`.\n\n## Demo\n\n[Full demo][webcomponents-demo]\n\n## Usage\n\n\u003c!--\n```\n\u003ccustom-element-demo\u003e\n  \u003ctemplate\u003e\n    \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"import\" href=\"s-table-lite.html\"\u003e\n    \u003clink rel=\"import\" href=\"s-tbody.html\"\u003e\n    \u003clink rel=\"import\" href=\"s-tr.html\"\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\u003cstyle\u003e\n  td, th {\n    padding: 8px;\n    box-sizing: border-box;\n    white-space: nowrap;\n  }\n  td:nth-of-type(1),\n  th:nth-of-type(1) {\n    background-color: rgba(255, 0, 255, 0.2);\n  }\n  tr.iron-selected td {\n    background-color: rgba(0, 0, 0, 0.1);\n  }\n  tr:hover td {\n    background-color: rgba(0, 0, 0, 0.2);\n  }\n  tr td.iron-selected:not(:nth-of-type(1)) {\n    background-color: rgba(255, 255, 0, 0.2);\n  }\n\u003c/style\u003e\n\n\u003ctable is=\"s-table-lite\" fixed-column\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth\u003eFirst Name\u003c/th\u003e\n      \u003cth\u003eLast Name\u003c/th\u003e\n      \u003cth\u003eJob Title\u003c/th\u003e\n      \u003cth\u003eFavorite Color\u003c/th\u003e\n      \u003cth\u003eWars or Trek?\u003c/th\u003e\n      \u003cth\u003ePorn Name\u003c/th\u003e\n      \u003cth\u003eDate of Birth\u003c/th\u003e\n      \u003cth\u003eDream Vacation City\u003c/th\u003e\n      \u003cth\u003eGPA\u003c/th\u003e\n      \u003cth\u003eArbitrary Data\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody is=\"s-tbody\"\u003e\n    \u003ctr is=\"s-tr\" multi\u003e\n      \u003ctd\u003eJames\u003c/td\u003e\n      \u003ctd\u003eMatman\u003c/td\u003e\n      \u003ctd\u003eChief Sandwich Eater\u003c/td\u003e\n      \u003ctd\u003eLettuce Green\u003c/td\u003e\n      \u003ctd\u003eTrek\u003c/td\u003e\n      \u003ctd\u003eDigby Green\u003c/td\u003e\n      \u003ctd\u003eJanuary 13, 1979\u003c/td\u003e\n      \u003ctd\u003eGotham City\u003c/td\u003e\n      \u003ctd\u003e3.1\u003c/td\u003e\n      \u003ctd\u003eRBX-12\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr is=\"s-tr\" multi\u003e\n      \u003ctd\u003eThe\u003c/td\u003e\n      \u003ctd\u003eTick\u003c/td\u003e\n      \u003ctd\u003eCrimefighter Sorta\u003c/td\u003e\n      \u003ctd\u003eBlue\u003c/td\u003e\n      \u003ctd\u003eWars\u003c/td\u003e\n      \u003ctd\u003eJohn Smith\u003c/td\u003e\n      \u003ctd\u003eJuly 19, 1968\u003c/td\u003e\n      \u003ctd\u003eAthens\u003c/td\u003e\n      \u003ctd\u003eN/A\u003c/td\u003e\n      \u003ctd\u003eEdlund, Ben (July 1996).\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr is=\"s-tr\" multi\u003e\n      \u003ctd\u003eJokey\u003c/td\u003e\n      \u003ctd\u003eSmurf\u003c/td\u003e\n      \u003ctd\u003eGiving Exploding Presents\u003c/td\u003e\n      \u003ctd\u003eSmurflow\u003c/td\u003e\n      \u003ctd\u003eSmurf\u003c/td\u003e\n      \u003ctd\u003eSmurflane Smurfmutt\u003c/td\u003e\n      \u003ctd\u003eSmurfuary Smurfteenth, 1945\u003c/td\u003e\n      \u003ctd\u003eNew Smurf City\u003c/td\u003e\n      \u003ctd\u003e4.Smurf\u003c/td\u003e\n      \u003ctd\u003eOne\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr is=\"s-tr\" multi\u003e\n      \u003ctd\u003eCindy\u003c/td\u003e\n      \u003ctd\u003eBeyler\u003c/td\u003e\n      \u003ctd\u003eSales Representative\u003c/td\u003e\n      \u003ctd\u003eRed\u003c/td\u003e\n      \u003ctd\u003eWars\u003c/td\u003e\n      \u003ctd\u003eLori Quivey\u003c/td\u003e\n      \u003ctd\u003eJuly 5, 1956\u003c/td\u003e\n      \u003ctd\u003eParis\u003c/td\u003e\n      \u003ctd\u003e3.4\u003c/td\u003e\n      \u003ctd\u003e3451\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr is=\"s-tr\" multi\u003e\n      \u003ctd\u003eCaptain\u003c/td\u003e\n      \u003ctd\u003eCool\u003c/td\u003e\n      \u003ctd\u003eTree Crusher\u003c/td\u003e\n      \u003ctd\u003eBlue\u003c/td\u003e\n      \u003ctd\u003eWars\u003c/td\u003e\n      \u003ctd\u003eSteve 42nd\u003c/td\u003e\n      \u003ctd\u003eDecember 13, 1982\u003c/td\u003e\n      \u003ctd\u003eLas Vegas\u003c/td\u003e\n      \u003ctd\u003e1.9\u003c/td\u003e\n      \u003ctd\u003eUnder the couch\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n```\n\n## Installation\n\n`bower i s-table -S`\n\n## Install the Polymer-CLI\n\nFirst, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your application locally.\n\n## Viewing Your Application\n\n```\n$ polymer serve\n```\n\n## Building Your Application\n\n```\n$ polymer build\n```\n\nThis will create a `build/` folder with `bundled/` and `unbundled/` sub-folders\ncontaining a bundled (Vulcanized) and unbundled builds, both run through HTML,\nCSS, and JS optimizers.\n\nYou can serve the built versions by giving `polymer serve` a folder to serve\nfrom:\n\n```\n$ polymer serve build/bundled\n```\n\n## Running Tests\n\n```\n$ polymer test\n```\n\nYour application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally.\n\n## License\n\nMIT: [StartPolymer/license](https://github.com/StartPolymer/license)\n\n[webcomponents-image]: https://img.shields.io/badge/webcomponents.org-published-blue.svg\n[webcomponents-url]: https://webcomponents.org/element/StartPolymer/s-table\n[webcomponents-demo]: https://webcomponents.org/element/StartPolymer/s-table/demo/demo/s-table.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstartpolymer%2Fs-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstartpolymer%2Fs-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstartpolymer%2Fs-table/lists"}