{"id":28243762,"url":"https://github.com/bronsondunbar/library-list-component","last_synced_at":"2026-05-08T14:14:00.855Z","repository":{"id":126599241,"uuid":"138880787","full_name":"bronsondunbar/library-list-component","owner":"bronsondunbar","description":"List component for React [NPM Package]","archived":false,"fork":false,"pushed_at":"2018-06-27T12:54:22.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-11T02:44:34.426Z","etag":null,"topics":["nodejs","nodemodule","react","reactcomponent"],"latest_commit_sha":null,"homepage":"https://bronsondunbar.com/list-component-for-react-npm-package/","language":"CSS","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/bronsondunbar.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-06-27T12:48:54.000Z","updated_at":"2018-10-04T14:28:07.000Z","dependencies_parsed_at":"2023-06-17T09:30:28.282Z","dependency_job_id":null,"html_url":"https://github.com/bronsondunbar/library-list-component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bronsondunbar/library-list-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronsondunbar%2Flibrary-list-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronsondunbar%2Flibrary-list-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronsondunbar%2Flibrary-list-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronsondunbar%2Flibrary-list-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bronsondunbar","download_url":"https://codeload.github.com/bronsondunbar/library-list-component/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronsondunbar%2Flibrary-list-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271780405,"owners_count":24819292,"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-24T02:00:11.135Z","response_time":111,"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":["nodejs","nodemodule","react","reactcomponent"],"created_at":"2025-05-19T07:07:58.346Z","updated_at":"2026-05-08T14:13:55.822Z","avatar_url":"https://github.com/bronsondunbar.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# List Component\n\nList component for React\n\nInstall and save component as a dependency\n\n```\n\nnpm install --save library-list-component\n\n```\n\nImport component into your app\n\n```\n\nimport List from 'library-list-component'\n\n```\n\nCreate an array of objects with the key being data\n\n```\n\nconst listData = [\n\t{\n\t\tdata: \"Item one\",\n\t\tcontent: [\n\t\t\t{\n\t\t\t\tdata: \"Sub item one\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\tdata: \"Item two\"\n\t},\n\t{\n\t\tdata: \"Item three\"\n\t},\n\t{\n\t\tdata: \"Item four\"\n\t},\n\t{\n\t\tdata: \"Item five\"\n\t}\n]\n\n```\n\nRender the component with the object array we created as well as any other props that are needed\n\n```\n\nrender () {\n\tconst listData = [\n\t\t{\n\t\t\tdata: \"Item one\",\n\t\t\tcontent: [\n\t\t\t\t{\n\t\t\t\t\tdata: \"Sub item one\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\tdata: \"Item two\"\n\t\t},\n\t\t{\n\t\t\tdata: \"Item three\"\n\t\t},\n\t\t{\n\t\t\tdata: \"Item four\"\n\t\t},\n\t\t{\n\t\t\tdata: \"Item five\"\n\t\t}\n\t]\n\n\treturn (\n\t\t\u003cListComponent \n\t\t\tlistData={listData}\n\t\t\tlistStyleType=\"roman\"\n\t\t\tlistAlign=\"left\"\n\t\t\tlistInline={false}\n\t\t\tsubListStyleType=\"default\" /\u003e\n\t)\n}\n\n```\n\n| Prop             | Values                                 |\n| :--------------- | :------------------------------------- |\n| listData         | Object                                 |\n| listStyleType    | default, circle, decimal, alpha, roman |\n| listAlign        | left, right, center                    |\n| listInline       | true or false                          |\n| subListStyleType | default, circle, decimal, alpha, roman |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbronsondunbar%2Flibrary-list-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbronsondunbar%2Flibrary-list-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbronsondunbar%2Flibrary-list-component/lists"}