{"id":21884368,"url":"https://github.com/bensimmers/windows-98-ui","last_synced_at":"2026-04-26T06:07:30.691Z","repository":{"id":250455151,"uuid":"834518100","full_name":"BenSimmers/windows-98-ui","owner":"BenSimmers","description":"windows 98 inspired react component library","archived":false,"fork":false,"pushed_at":"2025-07-27T00:56:59.000Z","size":336,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T16:50:34.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/windows-98-ui","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/BenSimmers.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2024-07-27T14:08:23.000Z","updated_at":"2025-07-27T00:56:21.000Z","dependencies_parsed_at":"2025-07-26T07:25:31.752Z","dependency_job_id":"5e18339c-d931-4f5f-abdc-0503ee465a79","html_url":"https://github.com/BenSimmers/windows-98-ui","commit_stats":null,"previous_names":["bensimmers/windows-98-ui"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/BenSimmers/windows-98-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSimmers%2Fwindows-98-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSimmers%2Fwindows-98-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSimmers%2Fwindows-98-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSimmers%2Fwindows-98-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenSimmers","download_url":"https://codeload.github.com/BenSimmers/windows-98-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSimmers%2Fwindows-98-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272139174,"owners_count":24880258,"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-25T02:00:12.092Z","response_time":1107,"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":"2024-11-28T10:13:46.961Z","updated_at":"2026-04-26T06:07:30.666Z","avatar_url":"https://github.com/BenSimmers.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# windows-98-ui\n\nReact component library inspired by and using the css from [98.css](https://github.com/jdan/98.css) library for vanilla html\n\n![npm](https://img.shields.io/npm/v/windows-98-ui)\n![license](https://img.shields.io/github/license/bensimmers/windows-98-ui)\n![build](https://img.shields.io/github/actions/workflow/status/bensimmers/windows-98-ui/main.yml?branch=main)\n\n## Overview\n\n`windows-98-ui` is a React component library that brings the nostalgic look and feel of Windows 98 to your modern web applications. It leverages the [98.css](https://github.com/jdan/98.css) library to provide authentic styling.\n\n## View Components\n\nYou can view the components using this storybook [link](https://bensimmers.github.io/windows-98-ui/)\n\n## Installation\n\n```bash\nnpm install windows-98-ui\n```\n\n## Usage\n\nWrap your components in `Win98Provider` to scope all 98.css styles. This prevents the Windows 98 styles from leaking into the rest of your app.\n\n```jsx\nimport { Win98Provider, Button } from 'windows-98-ui';\n\nfunction App() {\n  return (\n    \u003cWin98Provider\u003e\n      \u003cButton label=\"OK\" /\u003e\n    \u003c/Win98Provider\u003e\n  );\n}\n```\n\n`Win98Provider` renders a `\u003cdiv class=\"win98\"\u003e` container and injects the scoped styles into `\u003chead\u003e` when it mounts, removing them when it unmounts. You can place it at the top level of your app or around individual sections — only the content inside will be styled.\n\n### Optional className\n\nYou can pass a `className` to the provider to style the container:\n\n```jsx\n\u003cWin98Provider className=\"my-desktop\"\u003e\n  \u003cButton label=\"OK\" /\u003e\n\u003c/Win98Provider\u003e\n```\n\n### Available components\n\n| Component | Import |\n|-----------|--------|\n| `Button` | `import { Button } from 'windows-98-ui'` |\n| `CheckBox` | `import { CheckBox } from 'windows-98-ui'` |\n| `Dropdown` | `import { Dropdown } from 'windows-98-ui'` |\n| `TextBox` | `import { TextBox } from 'windows-98-ui'` |\n| `Slider` | `import { Slider } from 'windows-98-ui'` |\n| `TitleBar` | `import { TitleBar } from 'windows-98-ui'` |\n| `Window` | `import { Window } from 'windows-98-ui'` |\n| `WindowBody` | `import { WindowBody } from 'windows-98-ui'` |\n| `Desktop` | `import { Desktop } from 'windows-98-ui'` |\n| `TreeView` | `import { TreeView } from 'windows-98-ui'` |\n| `Progress` | `import { Progress } from 'windows-98-ui'` |\n\n## Local Development\n\nTo set up the project locally, follow these steps:\n\n```bash\ngit clone \u003crepo\u003e\ncd windows-98-ui\nnpm install\nnpm start\n```\n\n## Chasnge Log\n\nSee the [CHANGELOG.md](CHANGELOG.md) file for details.\n\n## Contributing\n\nContributions are welcome! Please read our [contributing guidelines](CONTRIBUTING.md) to get started.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbensimmers%2Fwindows-98-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbensimmers%2Fwindows-98-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbensimmers%2Fwindows-98-ui/lists"}