{"id":14957346,"url":"https://github.com/sambernhardt/ipad-cursor","last_synced_at":"2025-08-13T01:12:22.077Z","repository":{"id":40835066,"uuid":"262635142","full_name":"sambernhardt/ipad-cursor","owner":"sambernhardt","description":"A web implementation of the new iPadOS cursor in React ⚪️","archived":false,"fork":false,"pushed_at":"2023-01-05T11:19:27.000Z","size":1790,"stargazers_count":193,"open_issues_count":18,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-07T00:04:00.280Z","etag":null,"topics":["cursor","greensock","ipados","next","nextjs","react","reactjs"],"latest_commit_sha":null,"homepage":"https://ipad-cursor.now.sh/","language":"JavaScript","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/sambernhardt.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-05-09T18:35:25.000Z","updated_at":"2025-03-06T07:46:03.000Z","dependencies_parsed_at":"2023-02-04T03:02:12.377Z","dependency_job_id":null,"html_url":"https://github.com/sambernhardt/ipad-cursor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sambernhardt/ipad-cursor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambernhardt%2Fipad-cursor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambernhardt%2Fipad-cursor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambernhardt%2Fipad-cursor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambernhardt%2Fipad-cursor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sambernhardt","download_url":"https://codeload.github.com/sambernhardt/ipad-cursor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambernhardt%2Fipad-cursor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270161712,"owners_count":24537687,"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":["cursor","greensock","ipados","next","nextjs","react","reactjs"],"created_at":"2024-09-24T13:14:45.990Z","updated_at":"2025-08-13T01:12:21.993Z","avatar_url":"https://github.com/sambernhardt.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":"`git clone https://github.com/sambernhardt/ipad-cursor.git`\n\n`npm i`\n\n`npm run start`\n\n![Preview](https://github.com/sambernhardt/ipad-cursor/blob/master/public/preview.gif)\n\n# Basic usage\n\n## Add the CursorProvider to a page\n```javascript\n// app.js\n\nimport App from 'next/app';\nimport CursorProvider from '../cursor/Provider';\n\nexport default class MyApp extends App {\n  render () {\n    const { Component, pageProps } = this.props;\n    \n    return (\n      \u003cCursorProvider\u003e\n        \u003cComponent {...pageProps} /\u003e\n      \u003c/CursorProvider\u003e\n    )\n  }\n}\n```\n\n## Then wrap your components with the `WithHover` function\n```javascript\n// Component.js\nimport WithHover from '../cursor/WithHover';\n\nconst Component = () =\u003e \u003ch1\u003e;\n\nexport default WithHover(\u003cComponent /\u003e, 'block');\n```\n\n\n### Caveats:\n- To move the contents of the hovered component, the component must have a display type of `inline-block` or `block`. CSS transforms don't work on inline elements.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambernhardt%2Fipad-cursor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsambernhardt%2Fipad-cursor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambernhardt%2Fipad-cursor/lists"}