Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
I

ipad-cursor

> 前端框架
Open source

A web implementation of the new iPadOS cursor in React ⚪️

200 stars0 likes1 views
WebsiteGitHub

About

A web implementation of the new iPadOS cursor in React ⚪️

git clone https://github.com/sambernhardt/ipad-cursor.git

npm i

npm run start

Basic usage

Add the CursorProvider to a page

javascript
// app.js

import App from 'next/app';
import CursorProvider from '../cursor/Provider';

export default class MyApp extends App {
  render () {
    const { Component, pageProps } = this.props;
    
    return (
      
        
      
    )
  }
}

Then wrap your components with the WithHover function

javascript
// Component.js
import WithHover from '../cursor/WithHover';

const Component = () => 
;

export default WithHover(, 'block');

Caveats:

  • 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.

Issues· 18 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptcursorgreensockipadosnext

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架