{"id":28376790,"url":"https://github.com/threshold-network/components","last_synced_at":"2025-10-29T12:46:43.805Z","repository":{"id":37067680,"uuid":"480708239","full_name":"threshold-network/components","owner":"threshold-network","description":"React components for Threshold Network.","archived":false,"fork":false,"pushed_at":"2024-03-04T09:40:37.000Z","size":622,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-05-30T00:07:50.940Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/threshold-network.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}},"created_at":"2022-04-12T07:53:37.000Z","updated_at":"2023-06-30T21:20:21.000Z","dependencies_parsed_at":"2024-03-04T10:49:51.365Z","dependency_job_id":null,"html_url":"https://github.com/threshold-network/components","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/threshold-network/components","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threshold-network%2Fcomponents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threshold-network%2Fcomponents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threshold-network%2Fcomponents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threshold-network%2Fcomponents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threshold-network","download_url":"https://codeload.github.com/threshold-network/components/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threshold-network%2Fcomponents/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262084656,"owners_count":23256280,"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":[],"created_at":"2025-05-30T00:07:52.979Z","updated_at":"2025-10-29T12:46:38.761Z","avatar_url":"https://github.com/threshold-network.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Threshold Network React Components\n\nThis repo contains reusable React components for Threshold Network.\n\n_For design documentation on these components, refer to the repo on Design\nSystem documentation\n[here](https://github.com/threshold-network/design-system-docs)._\n\n_You can also duplicate the Figma file\n[here](https://www.figma.com/file/zZi2fYDUjWEMPQJWAt8VWv/Threshold-DS?node-id=3436%3A24296)._\n\n## Setup\n\n---\n\n### Install packages\n\n`yarn`\n\n### Run storybook\n\n`yarn run storybook`\n\n## Use package locally in different project\n\n---\n\n### Build the project\n\n`yarn build` - this should build the code inside a `lib` directory\n\n### Create compressed gzip archive of package dependencies\n\nTo use the package locally without uploading it to npm registry you can:\n\n`yarn pack --filename \u003cfilename\u003e` - which will create a gzip archive (with the name given after `-- namefile`) of the\npackage in the root directory\n\n### Use the gzip archive in your project\n\nTo use the created gzip archive in your project you should go to your project directory and run:\n\n```\nyarn add file:\u003cpath_to_the_file\u003e.tgz\n```\n\nAlternatively you can just add the file to the project's `package.json` by adding this line there:\n\n`\"@threshold-network/components\": \"file:./\u003cpath_to_this_project\u003e/\u003cname_of_the_file\u003e.tgz\",`\n\nand after that you just run:\n\n`yarn`\n\n### You can now use your local package in your project\n\nYou can now use the local version of threshold network components by simply importing them from\n`@threshold-network.components`. For\nexample:\n\n`import { H1 } from \"@threshold-network/components\"`\n\n#### Note\n\nAfter executing `yarn pack` yarn caches the package so any changes made will not be saved after re-doing `yarn pack`\nuntil you clean the yarn cache (`yarn cache clean`) or just change the name of the packed file specified in `--filename`\nargument.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreshold-network%2Fcomponents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreshold-network%2Fcomponents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreshold-network%2Fcomponents/lists"}