{"id":20274990,"url":"https://github.com/danilichev/rn-section-grid-list","last_synced_at":"2026-03-11T05:02:20.371Z","repository":{"id":210988013,"uuid":"727917207","full_name":"danilichev/rn-section-grid-list","owner":"danilichev","description":"Section Grid List for React Native","archived":false,"fork":false,"pushed_at":"2024-08-25T09:27:04.000Z","size":1628,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T02:59:44.391Z","etag":null,"topics":["react-native","sectionlist","typescript"],"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/danilichev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2023-12-05T21:00:29.000Z","updated_at":"2025-04-04T11:54:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fed1ac7-ecb2-4d05-8f3b-ffe3b038114f","html_url":"https://github.com/danilichev/rn-section-grid-list","commit_stats":null,"previous_names":["danilichev/rn-section-grid-list"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/danilichev/rn-section-grid-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilichev%2Frn-section-grid-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilichev%2Frn-section-grid-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilichev%2Frn-section-grid-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilichev%2Frn-section-grid-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danilichev","download_url":"https://codeload.github.com/danilichev/rn-section-grid-list/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilichev%2Frn-section-grid-list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30372126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"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":["react-native","sectionlist","typescript"],"created_at":"2024-11-14T13:07:29.503Z","updated_at":"2026-03-11T05:02:20.353Z","avatar_url":"https://github.com/danilichev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rn-section-grid-list\n\nThis package for React Native provides SectionGridList component which works the same as usual SectionList but also adds the ability to render columns in sections by providing numColumns parameter (as in FlatList).\n\n\u003c!-- ![Screenshot](assets/screenshot.png) --\u003e\n\n\u003cimg src=\"assets/screenshot.png\" alt=\"Screenshot\" width=\"320\"\u003e\n\n## Installation\n\n```sh\nnpm install rn-section-grid-list\n```\n\n## Usage\n\n```js\nimport { SectionGridList } from 'rn-section-grid-list';\n\n// ...\n\nconst sections = useMemo(\n  () =\u003e [\n    { data: ['00', '11', '22'], key: 'Section #1' },\n    { data: ['33', '44', '55', '66', '77'], key: 'Section #2' },\n    { data: ['88'], key: 'Section #3' },\n  ],\n  []\n);\n\n// ...\n\n\u003cSectionGridList\n  RowSeparatorComponent={\u003cView style={styles.rowSeparator} /\u003e}\n  renderSectionHeader={({ section }) =\u003e (\n    \u003cText style={styles.sectionHeaderText}\u003e{section.key}\u003c/Text\u003e\n  )}\n  numColumns={3}\n  renderItem={({ item }) =\u003e (\n    \u003cView style={styles.item}\u003e\n      \u003cText\u003e{item}\u003c/Text\u003e\n    \u003c/View\u003e\n  )}\n  sections={sections}\n/\u003e;\n\n// ...\n\nconst styles = StyleSheet.create({\n  item: {\n    alignItems: 'center',\n    backgroundColor: 'pink',\n    height: Dimensions.get('window').width * 0.3,\n    justifyContent: 'center',\n    minWidth: '30%',\n  },\n  rowSeparator: {\n    height: Dimensions.get('window').width * 0.05,\n  },\n  sectionHeaderText: {\n    fontSize: 16,\n    fontWeight: 'bold',\n    marginVertical: 8,\n    textAlign: 'center',\n  },\n});\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilichev%2Frn-section-grid-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanilichev%2Frn-section-grid-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilichev%2Frn-section-grid-list/lists"}