{"id":16515609,"url":"https://github.com/insin/react-gridforms","last_synced_at":"2025-09-21T00:31:33.017Z","repository":{"id":66198973,"uuid":"46182789","full_name":"insin/react-gridforms","owner":"insin","description":"React components for Gridforms form layout","archived":false,"fork":false,"pushed_at":"2016-08-31T01:13:14.000Z","size":21,"stargazers_count":29,"open_issues_count":4,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-28T06:03:10.094Z","etag":null,"topics":["forms","react","react-components"],"latest_commit_sha":null,"homepage":"http://insin.github.io/react-gridforms","language":"JavaScript","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/insin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.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":"2015-11-14T16:46:40.000Z","updated_at":"2021-02-04T10:12:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b479a96-8695-453c-a7f3-77cc9b8948f3","html_url":"https://github.com/insin/react-gridforms","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"743311504797ea75ee45977b01822d537444f32a"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/insin/react-gridforms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insin%2Freact-gridforms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insin%2Freact-gridforms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insin%2Freact-gridforms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insin%2Freact-gridforms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/insin","download_url":"https://codeload.github.com/insin/react-gridforms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insin%2Freact-gridforms/sbom","scorecard":{"id":489726,"data":{"date":"2025-08-11","repo":{"name":"github.com/insin/react-gridforms","commit":"743311504797ea75ee45977b01822d537444f32a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/17 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-19T18:45:44.865Z","repository_id":66198973,"created_at":"2025-08-19T18:45:44.865Z","updated_at":"2025-08-19T18:45:44.865Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276179298,"owners_count":25598565,"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-20T02:00:10.207Z","response_time":63,"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":["forms","react","react-components"],"created_at":"2024-10-11T16:17:35.747Z","updated_at":"2025-09-21T00:31:32.783Z","avatar_url":"https://github.com/insin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-gridforms\n\n[![Travis][build-badge]][build]\n[![npm package][npm-badge]][npm]\n[![Coveralls][coveralls-badge]][coveralls]\n\nReact components for form layout with [Gridforms](https://github.com/kumailht/gridforms).\n\n## [Live Demo](http://insin.github.io/react-gridforms/)\n\n## Install\n\n**Note: [Webpack](http://webpack.github.io/) is _required_ in order to use this component from npm.**\n\n```\nnpm install react-gridforms\n```\n\nBrowser bundles are available, which export a global `GridForms` variable and expect to find a global ``React`` variable to work with.\n\n* [react-gridforms.js](https://npmcdn.com/react-gridforms/umd/react-gridforms.js) (development version)\n* [react-gridforms.min.js](https://npmcdn.com/react-gridforms/umd/react-gridforms.min.js) (compressed production version)\n* Use [gridforms.css](https://cdn.rawgit.com/kumailht/gridforms/master/gridforms/gridforms.css) via RawGit with the browser bundle.\n\n## Usage\n\n```javascript\nvar GridForms = require('react-gridforms')\n// or\nvar {GridForm, Fieldset, Row, Field} = require('react-gridforms')\n// or\nimport {GridForm, Fieldset, Row, Field} from 'react-gridforms'\n```\n\nNest `\u003cFieldset\u003e`, `\u003cRow\u003e` and `\u003cField\u003e` components under a `\u003cGridForm\u003e` as necessary, using a `span` prop to control the relative size of each field.\n\n```js\n\u003cGridForm\u003e\n  \u003cFieldset legend=\"Add to inventory\"\u003e\n    \u003cRow\u003e\n      \u003cField span={3}\u003e\n        \u003clabel\u003eProduct Name\u003c/label\u003e\n        \u003cinput type=\"text\" autoFocus/\u003e\n      \u003c/Field\u003e\n      \u003cField\u003e\n        \u003clabel\u003eTags\u003c/label\u003e\n        \u003cinput type=\"text\"/\u003e\n      \u003c/Field\u003e\n    \u003c/Row\u003e\n  \u003c/Fieldset\u003e\n\u003c/GridForm\u003e\n```\n\nRow spans will be calculated based on their Fields, so you only have to specify `span` props for fields which need more than the default of `1`.\n\n## API\n\nAll components will pass any props not documented below to the container element they render.\n\n### `GridForm` component\n\nRenders a `\u003cform\u003e` with a `.grid-form` class by default.\n\nProp | Default | Description\n---- | ------- | -----------\n`className` | | An additional class name for the element rendered by the component\n`component` | `'div'` | The container component to be rendered - can be a tag name or a custom React component\n`custom` | `false` | Flag to indicate a custom build of Gridforms is being used - when `true` the default `.grid-form` class will not be used, only the provided `className`\n\n### `Fieldset` component\n\nRenders a `\u003cfieldset\u003e` with a `\u003clegend\u003e`.\n\nProp | Description\n---- | -----------\n`legend` | Contents for the `\u003clegend\u003e`, which will only be rendered when a `legend` prop is provided\n\n### `Row` component\n\nRenders a `\u003cdiv\u003e` and calculates a GridForms `data-row-span` attribute based on the `span` props of its `Field` component children.\n\n### `Field` component\n\nContainer for an input field.\n\nProp | Default | Description\n---- | ------- | -----------\n`span` | `1` | Relative size of the field compared to others in the same `Row` - can be expressed as a Number or a String\n\n## MIT Licensed\n\n[build-badge]: https://img.shields.io/travis/insin/react-gridforms/master.svg?style=flat-square\n[build]: https://travis-ci.org/insin/react-gridforms\n\n[npm-badge]: https://img.shields.io/npm/v/react-gridforms.svg?style=flat-square\n[npm]: https://www.npmjs.org/package/react-gridforms\n\n[coveralls-badge]: https://img.shields.io/coveralls/insin/react-gridforms/master.svg?style=flat-square\n[coveralls]: https://coveralls.io/github/insin/react-gridforms\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsin%2Freact-gridforms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsin%2Freact-gridforms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsin%2Freact-gridforms/lists"}