{"id":24073043,"url":"https://github.com/react-sandbox/cursor-loader","last_synced_at":"2025-10-09T14:38:20.940Z","repository":{"id":189783429,"uuid":"658469170","full_name":"react-sandbox/cursor-loader","owner":"react-sandbox","description":"🖱️ Cursor loader","archived":false,"fork":false,"pushed_at":"2024-01-15T22:34:53.000Z","size":1356,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-08T21:31:53.926Z","etag":null,"topics":["component","cursor-loader","loader","react","react-cursor","typescript"],"latest_commit_sha":null,"homepage":"","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/react-sandbox.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-25T20:43:23.000Z","updated_at":"2024-04-26T21:36:34.000Z","dependencies_parsed_at":"2024-01-15T23:29:23.237Z","dependency_job_id":"e9816840-1730-453e-b0ff-a4a66a96767e","html_url":"https://github.com/react-sandbox/cursor-loader","commit_stats":null,"previous_names":["react-sandbox/cursor-loader"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/react-sandbox/cursor-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-sandbox%2Fcursor-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-sandbox%2Fcursor-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-sandbox%2Fcursor-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-sandbox%2Fcursor-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-sandbox","download_url":"https://codeload.github.com/react-sandbox/cursor-loader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-sandbox%2Fcursor-loader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001508,"owners_count":26083118,"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-10-09T02:00:07.460Z","response_time":59,"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":["component","cursor-loader","loader","react","react-cursor","typescript"],"created_at":"2025-01-09T17:25:39.207Z","updated_at":"2025-10-09T14:38:20.900Z","avatar_url":"https://github.com/react-sandbox.png","language":"TypeScript","readme":"\u003ch1 align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@react-sandbox/cursor-loader\"\u003e@react-sandbox/cursor-loader\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/react-sandbox/cursor-loader/playwright.yml\" alt=\"Build status\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/dependencies-0-brightgreen\" alt=\"Dependencies\" /\u003e\n  \u003cimg src=\"https://img.shields.io/bundlephobia/minzip/@react-sandbox/cursor-loader?color=%234ba0f6\" alt=\"Build size\" /\u003e\n  \u003cimg src=\"https://img.shields.io/npm/dt/@react-sandbox/cursor-loader?color=%234ba0f6\" alt=\"Package downloads\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"example.gif\" alt=\"Example\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e🖱️ Cursor loader component.\u003c/p\u003e\n\n## Usage\n\n### Install\n\nInstall the `@react-sandbox/cursor-loader` package:\n\n```\nnpm install @react-sandbox/cursor-loader\n```\n\n### Import\n\nImport the `CursorLoader` component:\n\n```tsx\nimport React, { useState } from 'react'\nimport CursorLoader from '@react-sandbox/cursor-loader'\n\nfunction App() {\n  const [load, setLoad] = useState(0)\n\n  return (\n    \u003cdiv\u003e\n      \u003cCursorLoader load={load} /\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\n### Props\n\n| Prop         | Type                            | Default      | Description                       |\n| ------------ | ------------------------------- | ------------ | --------------------------------- |\n| `load`       | `number`                        | **required** | Load/progress (between 0 and 100) |\n| `color`      | `string`                        | `'#01D45B'`  | Color of loader                   |\n| `size`       | `'sm' \\| 'md' \\| 'lg'`          | `'sm'`       | Size of loader                    |\n| `trailDelay` | `0 \\| 100 \\| 200 \\| 300 \\| 500` | `300`        | Cursor trail delay                |\n| `onComplete` | `function`                      | `-`          | Callback function on completion   |\n| `className`  | `string`                        | `-`          | CSS classes                       |\n| `style`      | `React.CSSProperties`           | `-`          | CSS styles                        |\n\n## Development\n\n### Local\n\n```\npnpm install\npnpm dev\n```\n\n### Tests\n\n```\npnpm test\n```\n\n### Example\n\nInside `test/`:\n\n```\npnpm install\npnpm dev\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-sandbox%2Fcursor-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-sandbox%2Fcursor-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-sandbox%2Fcursor-loader/lists"}