{"id":16791941,"url":"https://github.com/metonym/svelte-accessible-table","last_synced_at":"2025-04-10T23:51:32.269Z","repository":{"id":40672880,"uuid":"256498999","full_name":"metonym/svelte-accessible-table","owner":"metonym","description":"Accessible table component for Svelte","archived":false,"fork":false,"pushed_at":"2023-07-11T06:23:38.000Z","size":393,"stargazers_count":3,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T14:43:02.067Z","etag":null,"topics":["a11y","accessible","svelte","svelte-component","table"],"latest_commit_sha":null,"homepage":"https://metonym.github.io/svelte-accessible-table/","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metonym.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-17T12:38:13.000Z","updated_at":"2022-03-24T10:17:48.000Z","dependencies_parsed_at":"2025-02-18T06:45:18.996Z","dependency_job_id":null,"html_url":"https://github.com/metonym/svelte-accessible-table","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/metonym%2Fsvelte-accessible-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fsvelte-accessible-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fsvelte-accessible-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metonym%2Fsvelte-accessible-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metonym","download_url":"https://codeload.github.com/metonym/svelte-accessible-table/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317708,"owners_count":21083528,"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":["a11y","accessible","svelte","svelte-component","table"],"created_at":"2024-10-13T08:43:36.665Z","updated_at":"2025-04-10T23:51:32.254Z","avatar_url":"https://github.com/metonym.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svelte-accessible-table\n\n[![NPM][npm]][npm-url]\n\n\u003e Accessible Svelte table component.\n\n\u003c!-- REPO_URL --\u003e\n\n---\n\n\u003c!-- TOC --\u003e\n\n## Installation\n\n**Yarn**\n\n```bash\nyarn add -D svelte-accessible-table\n```\n\n**NPM**\n\n```bash\nnpm i -D svelte-accessible-table\n```\n\n**pnpm**\n\n```bash\npnpm i -D svelte-accessible-table\n```\n\n## Usage\n\n```svelte\n\u003cscript\u003e\n  import {\n    TableContainer,\n    TableBody,\n    TableHead,\n    TableRow,\n    TableCell,\n  } from \"svelte-accessible-table\";\n\u003c/script\u003e\n\n\u003cTableContainer caption=\"Influential historical documents\"\u003e\n  \u003cTableHead\u003e\n    \u003cTableRow\u003e\n      \u003cTableCell\u003eDocument title\u003c/TableCell\u003e\n      \u003cTableCell\u003eDescription\u003c/TableCell\u003e\n      \u003cTableCell\u003eYear\u003c/TableCell\u003e\n    \u003c/TableRow\u003e\n  \u003c/TableHead\u003e\n  \u003cTableBody\u003e\n    \u003cTableRow\u003e\n      \u003cTableCell\u003eDeclaration of Independence\u003c/TableCell\u003e\n      \u003cTableCell\u003e\n        Statement adopted by the Continental Congress declaring independence\n        from the British Empire\n      \u003c/TableCell\u003e\n      \u003cTableCell tabular\u003e1776\u003c/TableCell\u003e\n    \u003c/TableRow\u003e\n    \u003cTableRow\u003e\n      \u003cTableCell\u003eBill of Rights\u003c/TableCell\u003e\n      \u003cTableCell\u003e\n        Document containing the first ten amendments to the United States\n        Constitution\n      \u003c/TableCell\u003e\n      \u003cTableCell tabular\u003e1791\u003c/TableCell\u003e\n    \u003c/TableRow\u003e\n    \u003cTableRow\u003e\n      \u003cTableCell\u003eDeclaration of Sentiments\u003c/TableCell\u003e\n      \u003cTableCell\u003e\n        A document written during the Seneca Falls Convention outlining the\n        rights that American women should be entitled to as citizens\n      \u003c/TableCell\u003e\n      \u003cTableCell tabular\u003e1848\u003c/TableCell\u003e\n    \u003c/TableRow\u003e\n  \u003c/TableBody\u003e\n\u003c/TableContainer\u003e\n```\n\n## API\n\n### `TableContainer` props\n\n| Name    | Type                    | Default value |\n| :------ | :---------------------- | :------------ |\n| caption | `string` or `slot:name` | `undefined`   |\n| zebra   | `boolean`               | `false`       |\n\n### `TableCell` props\n\n| Name    | Type      | Default value |\n| :------ | :-------- | :------------ |\n| tabular | `boolean` | `false`       |\n\n### Forwarded events\n\nThe following events are forwarded to the `TableHead`, `TableRow` and `TableCell` components.\n\n- on:click\n- on:mouseenter\n- on:mouseleave\n\n## Changelog\n\n[Changelog](CHANGELOG.md)\n\n## License\n\n[MIT](LICENSE)\n\n[npm]: https://img.shields.io/npm/v/svelte-accessible-table.svg?style=for-the-badge\u0026color=%23ff3e00\n[npm-url]: https://npmjs.com/package/svelte-accessible-table\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetonym%2Fsvelte-accessible-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetonym%2Fsvelte-accessible-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetonym%2Fsvelte-accessible-table/lists"}