{"id":30240405,"url":"https://github.com/hypothesis/frontend-shared","last_synced_at":"2025-10-11T10:14:43.928Z","repository":{"id":37489201,"uuid":"339825342","full_name":"hypothesis/frontend-shared","owner":"hypothesis","description":"UI components and styles for Hypothesis front-end applications","archived":false,"fork":false,"pushed_at":"2025-08-12T13:19:35.000Z","size":8309,"stargazers_count":5,"open_issues_count":39,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-12T15:23:47.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://patterns.hypothes.is","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/hypothesis.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":"2021-02-17T18:56:16.000Z","updated_at":"2025-08-12T13:19:38.000Z","dependencies_parsed_at":"2024-03-21T14:29:35.443Z","dependency_job_id":"aa42b4d6-36f7-4eee-bfe1-96facbc90b92","html_url":"https://github.com/hypothesis/frontend-shared","commit_stats":{"total_commits":1981,"total_committers":9,"mean_commits":"220.11111111111111","dds":0.5532559313478042,"last_synced_commit":"89498a0d30323a63583fdc5adb3b7b0624a0b6fa"},"previous_names":[],"tags_count":133,"template":false,"template_full_name":null,"purl":"pkg:github/hypothesis/frontend-shared","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Ffrontend-shared","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Ffrontend-shared/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Ffrontend-shared/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Ffrontend-shared/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypothesis","download_url":"https://codeload.github.com/hypothesis/frontend-shared/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Ffrontend-shared/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270127392,"owners_count":24531793,"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-12T02:00:09.011Z","response_time":80,"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":[],"created_at":"2025-08-15T04:38:24.808Z","updated_at":"2025-10-11T10:14:43.911Z","avatar_url":"https://github.com/hypothesis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@hypothesis/frontend-shared`\n\nUI components for Hypothesis front-end applications.\n\n## Installation\n\nYour project must have `preact` and `tailwindcss` as dependencies.\n\n```sh\n$ yarn add preact tailwindcss @tailwindcss/postcss\n$ yarn add @hypothesis/frontend-shared\n```\n\nIn your project's CSS entry point, add a `@source` for the frontend-shared\npackage and import the Tailwind theme:\n\n```css\n@import 'tailwindcss' source(none);\n\n/* Configure source files to scan for Tailwind classes. */\n@source './node_modules/@hypothesis/frontend-shared/lib/**/*.js';\n\n/* Import theme and utilities from shared package. */\n@import '@hypothesis/frontend-shared/tailwind-config.css';\n```\n\n## Documentation\n\nFull documentation is available in this project's web-based pattern library.\n\n1. Run the local web server:\n   ```sh\n   $ make dev\n   ```\n2. Visit http://localhost:4001/ in a browser\n\n## Usage\n\n```js\nimport { Link } from '@hypothesis/frontend-shared';\n```\n\n## Additional dev documentation\n\n- [Development guide](docs/developing.md)\n- [Release guide](docs/releases.md)\n- [Adding examples](docs/examples.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypothesis%2Ffrontend-shared","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypothesis%2Ffrontend-shared","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypothesis%2Ffrontend-shared/lists"}