项目
在 GitHub 查看 
aswinckr/figma-cursor
关于
This plugin allows you to copy all the properties of any group or frame and its child layers in Figma, enabling easy recreation in code using Cursor.
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文You can access the plugin directly from the Figma community - Link to plugin
Figma To Cursor Plugin
This plugin allows you to copy all the properties of any group or frame and its child layers in Figma, enabling easy recreation in code using Cursor.
Installation
- Download this project.
- Open Figma and navigate to
Plugins->Development->Import plugin from manifest... - Choose the
manifest.jsonfile from this project directory.
Usage
- Select a frame or group in Figma (ensure it's not a component; detach if necessary).
- Run the plugin and click "Copy to Clipboard".
- In Cursor, use the "design this" command and specify the desired positioning.
- Paste the copied properties.
Development
- Run
yarnto install dependencies. - Run
yarn build:watchto start webpack in watch mode.
Build Commands
For Development
yarn build:watch: Starts webpack in watch mode for development.
For Production
yarn build: Builds the plugin for production.
Tooling
This project uses:
- React + Webpack
- TypeScript
- Prettier precommit hook
Quickstart for Developers
- Run
yarnto install dependencies. - Run
yarn build:watchto start webpack in watch mode. - Open
Figma->Plugins->Development->Import plugin from manifest...and choosemanifest.jsonfile from this repo.
⭐ To change the UI of your plugin (the react code), start editing App.tsx.
⭐ To interact with the Figma API edit controller.ts.
⭐ Read more on the Figma API Overview.
探索相关项目
加载中…