Projetos
Ver no GitHub 
aswinckr/figma-cursor
Sobre
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.
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- +1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalYou 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.
Explore projetos relacionados
Carregando…