百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
I

ipad-cursor

> 前端框架
开源

基于 React 的新 iPadOS Cursor 的 Web 实现 ⚪️

200 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

基于 React 的新 iPadOS Cursor 的 Web 实现 ⚪️

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptcursorgreensockipadosnext

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

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