{"id":19670363,"url":"https://github.com/mat-sz/react-statusbar","last_synced_at":"2026-05-02T23:42:37.245Z","repository":{"id":57345344,"uuid":"304377812","full_name":"mat-sz/react-statusbar","owner":"mat-sz","description":"📶 A simple React library for beautiful statusbars.","archived":false,"fork":false,"pushed_at":"2021-04-11T16:08:17.000Z","size":333,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T21:04:49.988Z","etag":null,"topics":["javascript","javascript-library","libary","react","react-library","statusbar","typescript","typescript-library"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause-clear","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mat-sz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-15T15:58:03.000Z","updated_at":"2021-06-02T09:55:26.000Z","dependencies_parsed_at":"2022-09-17T06:31:29.567Z","dependency_job_id":null,"html_url":"https://github.com/mat-sz/react-statusbar","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mat-sz/react-statusbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mat-sz%2Freact-statusbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mat-sz%2Freact-statusbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mat-sz%2Freact-statusbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mat-sz%2Freact-statusbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mat-sz","download_url":"https://codeload.github.com/mat-sz/react-statusbar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mat-sz%2Freact-statusbar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264979757,"owners_count":23692491,"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":["javascript","javascript-library","libary","react","react-library","statusbar","typescript","typescript-library"],"created_at":"2024-11-11T17:06:02.762Z","updated_at":"2026-05-02T23:42:32.224Z","avatar_url":"https://github.com/mat-sz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ereact-statusbar\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nA simple React library for beautiful status bars.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"workflow\" src=\"https://img.shields.io/github/workflow/status/mat-sz/react-statusbar/Node.js%20CI%20(yarn)\"\u003e\n\u003ca href=\"https://npmjs.com/package/react-statusbar\"\u003e\n\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/react-statusbar\"\u003e\n\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dw/react-statusbar\"\u003e\n\u003cimg alt=\"NPM\" src=\"https://img.shields.io/npm/l/react-statusbar\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/mat-sz/react-statusbar/master/screenshot.png\" alt=\"Screenshot\"\u003e\n\u003c/p\u003e\n\n## Usage\n\nInstall [react-statusbar](https://npmjs.com/package/react-statusbar) from NPM, using your favorite package manager:\n\n```sh\nyarn add react-statusbar\n# or...\nnpm install react-statusbar\n```\n\nAnd you can now add the statusbar to your project using:\n\n```tsx\nimport 'react-statusbar/dist/statusbar.css';\nimport * as Statusbar from 'react-statusbar';\n\n\u003cStatusbar.Statusbar\n  left={\u003cStatusbar.Button\u003eHello, world!\u003c/Statusbar.Button\u003e}\n  right={\u003cspan\u003eHello!\u003c/span\u003e}\n/\u003e;\n```\n\n\u003e **IMPORTANT:** Make sure to import the CSS file, as shown above.\n\n## Available components\n\n### Statusbar\n\nThe main statusbar component, it provides layout and CSS variables to other components.\n\n```tsx\n\u003cStatusbar.Statusbar left={} right={} /\u003e\n```\n\n### Label\n\nA basic text component.\n\n```tsx\n\u003cStatusbar.Label\u003eHello, world!\u003c/Statusbar.Label\u003e\n```\n\n### Button\n\nA basic button component.\n\n```tsx\n\u003cStatusbar.Button onClick={() =\u003e alert('Hello!')}\u003e\n  Hello, world!\n\u003c/Statusbar.Button\u003e\n```\n\n### Dropdown\n\nA dropdown menu component.\n\n```tsx\n\u003cStatusbar.Dropdown\n  options={[\n    {\n      key: 'test',\n      label: 'Test',\n      onClick: () =\u003e alert('test')\n    },\n    {\n      key: 'separator-test',\n      type: 'separator'\n    },\n    {\n      key: 'test2',\n      label: 'Test 2',\n      onClick: () =\u003e alert('test 2')\n    }\n  ]}\n\u003e\n  Dropdown\n\u003c/Statusbar.Dropdown\u003e\n```\n\n### Progress\n\nA progress bar component. If the `value` and `max` properties are undefined, this will show a marquee animation.\n\n```tsx\n\u003cStatusbar.Progress value={40} max={100} /\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmat-sz%2Freact-statusbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmat-sz%2Freact-statusbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmat-sz%2Freact-statusbar/lists"}