{"id":16295727,"url":"https://github.com/hamlim/util-components","last_synced_at":"2026-02-22T09:41:43.599Z","repository":{"id":41782347,"uuid":"130527309","full_name":"hamlim/util-components","owner":"hamlim","description":"A collection of helpful React components","archived":false,"fork":false,"pushed_at":"2025-01-12T02:58:33.000Z","size":69,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T09:11:50.422Z","etag":null,"topics":["component-library","components","react"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/hamlim.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}},"created_at":"2018-04-22T02:07:24.000Z","updated_at":"2025-01-12T02:58:31.000Z","dependencies_parsed_at":"2023-01-24T17:00:41.852Z","dependency_job_id":null,"html_url":"https://github.com/hamlim/util-components","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Futil-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Futil-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Futil-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Futil-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamlim","download_url":"https://codeload.github.com/hamlim/util-components/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238747874,"owners_count":19523849,"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":["component-library","components","react"],"created_at":"2024-10-10T20:19:37.889Z","updated_at":"2025-10-14T11:36:01.191Z","avatar_url":"https://github.com/hamlim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# util-components\n\nThis is a collection of helpful React components that I end up using fairly frequently in many different projects.\n\n## API\n\n```js\nimport {\n  Toggle,\n  RefManager,\n  FocusManager,\n} from 'util-components'\n\nrender(\n  \u003cToggle\u003e\n    {({ toggle, on }) =\u003e (\n      \u003cRefManager\u003e\n        {({ assignRef, someRef, target }) =\u003e (\n          \u003cdiv ref={assignRef('someRef')}\u003e\n            \u003cbutton\n              onClick={toggle}\n              ref={assignRef('target')}\n            \u003e\n              Toggle\n            \u003c/button\u003e\n          \u003c/div\u003e\n        )}\n      \u003c/RefManager\u003e\n    )}\n  \u003c/Toggle\u003e,\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamlim%2Futil-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamlim%2Futil-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamlim%2Futil-components/lists"}