{"id":15500030,"url":"https://github.com/jstarpl/react-tabular-input","last_synced_at":"2026-02-23T07:42:09.011Z","repository":{"id":226404767,"uuid":"768176413","full_name":"jstarpl/react-tabular-input","owner":"jstarpl","description":"A React input component that allows manipulation of structured text in a spreadsheet-like fashion, so that you can quickly type new data in.","archived":false,"fork":false,"pushed_at":"2025-03-20T10:29:54.000Z","size":492,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-05T16:17:10.610Z","etag":null,"topics":["component","csv","input","react","table","tabular","tsv"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/jstarpl.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-06T15:57:24.000Z","updated_at":"2025-03-20T10:29:30.000Z","dependencies_parsed_at":"2025-03-04T13:39:41.126Z","dependency_job_id":"b10c9d58-9350-405c-a0bd-bfa0a2c1b28b","html_url":"https://github.com/jstarpl/react-tabular-input","commit_stats":null,"previous_names":["jstarpl/react-tabular-input"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/jstarpl/react-tabular-input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstarpl%2Freact-tabular-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstarpl%2Freact-tabular-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstarpl%2Freact-tabular-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstarpl%2Freact-tabular-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jstarpl","download_url":"https://codeload.github.com/jstarpl/react-tabular-input/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstarpl%2Freact-tabular-input/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273707348,"owners_count":25153724,"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-09-05T02:00:09.113Z","response_time":402,"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":["component","csv","input","react","table","tabular","tsv"],"created_at":"2024-10-02T08:57:34.876Z","updated_at":"2026-02-23T07:42:08.957Z","avatar_url":"https://github.com/jstarpl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tabular Input for React\n\nThis is a React input component that allows manipulation of structured text in a spreadsheet-like fashion, so that you can quickly type new data in.\n\n## Install\n\n```\nnpm i -S @jstarpl/react-tabular-input\n```\n\n## Use\n\n```JSX\n\u003cTabularInput\n    value={value}\n    columns={[\n        {\n            label: \"Column 1\", // string or JSX\n            tag: \"C1\", // needs to be unique\n            width: \"2fr\", // CSS Grid column width string\n        },\n        {\n            label: \u003c\u003eColumn 2\u003c/\u003e,\n            tag: \"C2\",\n            width: \"100px\",\n        },\n        {\n            label: \u003cem\u003eColumn 3\u003c/em\u003e,\n            tag: \"C3\",\n            width: \"3fr\",\n        },\n    ]}\n    showInsertButton\n    draggable\n    highlightRange={[0, 1]} // highlight rows from first index, up to, but excluding second index\n    insertButtonLabel=\"Add new item\" // string or JSX\n    deleteButtonLabel={\u003cDeleteIcon /\u003e}\n    onChange={setValue}\n    shouldAllowDeleteRow={(recordIndex, recordCount) =\u003e true}\n    /\u003e\n```\n\n## Extras\n\n- Odd and even rows are marked using `data-odd-even=\"odd\"` and `data-odd-even=\"even\"` attributes\n- Highlighted rows are marked using `data-highlight` attribute\n\n## Requirements\n\nRequires React \u003e= 16 and a build tool that can resolve CSS imports (like webpack's `css-loader` or `vite`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstarpl%2Freact-tabular-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjstarpl%2Freact-tabular-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstarpl%2Freact-tabular-input/lists"}