All Projects → react-figma → React Figma

react-figma / React Figma

Licence: mit
⚛️ A React renderer for Figma

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to React Figma

figma-walker
Walkthrough your project without lifting your keyboard / Figma Plugin
Stars: ✭ 45 (-97.54%)
Mutual labels:  figma, figma-plugins
figma-plus-advanced-rename-plugin
A better and more powerful batch rename plugin for Figma with a dozen of options
Stars: ✭ 28 (-98.47%)
Mutual labels:  figma, figma-plugins
Figmatocode
Generate responsive pages and apps on HTML, Tailwind, Flutter and SwiftUI.
Stars: ✭ 2,299 (+25.63%)
Mutual labels:  figma, figma-plugins
figma-plugins-stats
📈 A CLI to get live and historical stats for your Figma plugins
Stars: ✭ 53 (-97.1%)
Mutual labels:  figma, figma-plugins
figma-messenger
Type-safe communication for good 🧐.
Stars: ✭ 24 (-98.69%)
Mutual labels:  figma, figma-plugins
figma-api-stub
🤖 A stub implementation of Figma Plugins API.
Stars: ✭ 33 (-98.2%)
Mutual labels:  figma, figma-plugins
Figma-Plugin-Webpack-React-Template
Base for building Figma plugins with React
Stars: ✭ 16 (-99.13%)
Mutual labels:  figma, figma-plugins
figma-dev
Build figma plugins with a modern toolchain
Stars: ✭ 15 (-99.18%)
Mutual labels:  figma, figma-plugins
Figma-Vue3-Template
Plugin template for Figma using Vue3
Stars: ✭ 19 (-98.96%)
Mutual labels:  figma, figma-plugins
Json Decoder
JsonDecoder implementation that allows you to convert your JSON data into PHP class objects
Stars: ✭ 109 (-94.04%)
Mutual labels:  hacktoberfest
Belajar Git
Tutorial Git dalam Bahasa Indonesia
Stars: ✭ 109 (-94.04%)
Mutual labels:  hacktoberfest
Trufflesuite.com
Truffle Suite website source
Stars: ✭ 109 (-94.04%)
Mutual labels:  hacktoberfest
Everett
configuration library for python projects
Stars: ✭ 109 (-94.04%)
Mutual labels:  hacktoberfest
Foreman Ansible Modules
Ansible modules for interacting with the Foreman API and various plugin APIs such as Katello
Stars: ✭ 109 (-94.04%)
Mutual labels:  hacktoberfest
Spotify Dart
A dart library for interfacing with the Spotify API.
Stars: ✭ 109 (-94.04%)
Mutual labels:  hacktoberfest
Spotify Playlist Archive
Daily snapshots of public Spotify playlists
Stars: ✭ 111 (-93.93%)
Mutual labels:  hacktoberfest
Laravel Translations Loader
Webpack loader to import Laravel translation files (PHP or JSON) into your JS bundle as JSON.
Stars: ✭ 109 (-94.04%)
Mutual labels:  hacktoberfest
Myportfolio Hacktoberfest2019
I'm in need for a new portfolio website. Maybe the Hacktoberfest army could help me?
Stars: ✭ 109 (-94.04%)
Mutual labels:  hacktoberfest
Scaffold Static
Scaffolding utility for vanilla-js
Stars: ✭ 111 (-93.93%)
Mutual labels:  hacktoberfest
Omegaup
omegaUp automatic programming contest evaluator & arena
Stars: ✭ 110 (-93.99%)
Mutual labels:  hacktoberfest

React Figma

React Figma logo by Lera Lesik

npm version CircleCI

A React renderer for Figma. Use React components as a source for your designs.

Example of code:

import * as React from 'react';
import { Page, View, Text } from 'react-figma';

export const App = () => {
    return (
        <Page name="New page" isCurrent>
            <View>
                <View style={{ width: 200, height: 100, backgroundColor: '#dd55aa' }} />
                <Text style={{ color: '#ffffff' }}>text</Text>
            </View>
        </Page>
    );
};

Installation

Using boilerplate

You can use react-figma-boilerplate for creating own projects.

From scratch

Install it with yarn:

yarn add react react-figma

Or with npm:

npm i react react-figma --save

Usage

Configure main thread

import { setupMainThread } from 'react-figma/rpc';

figma.showUI(__html__, { visible: false });

setupMainThread();

Configure ui thread

import * as React from 'react';
import { App } from './App';

import 'react-figma/rpc';
import { render } from 'react-figma';

render(<App />);

Import components

import * as React from 'react';
import { Page, Rectangle, Text } from 'react-figma';

export const App = () => {
    return (
        <Page name="New page">
            <Rectangle style={{ width: 200, height: 100, backgroundColor: '#dd55aa' }} />
            <Text characters="text" style={{ color: '#ffffff' }} />
        </Page>
    );
};

Docs

Examples

Sponsoring

Become a backer and get your logo on our Readme on GitHub with a link to your site.

Become a sponsor and get your logo on our README on GitHub with a link to your site.

Contributing

Everyone is welcome to contribute. Whether you're helping us implement features, fix bugs or improve the docs, we'd love to have you as part of the community!

How to Contribute

Check out our Contributing Guide for ideas on contributing and setup steps for getting repository up and running on your local machine.

Acknowledgements

React Figma team wishes to thank the following invaluable contributions:

Tested with browserstack

Tested with browserstack

Contributors

Thanks goes to these wonderful people (emoji key):


Ilya Lesik

💻

Losev Yaroslav

💻

Vishnu Singh

💻

corrina

💻

Zachary Witt

💻

Abdelrahman Ashraf

💻

sprashad

📖

Vivian Lee

💻

macintoshhelper

💻

Pierre Grimaud

📖

Greg Westneat

💻

Marius Reimer

💻

szeko

💻

Jonathan Holmes

📖

不吃猫的鱼

💻

Darío Hereñú

📖

Konstantin Popov

📖

Utkarsh Singh

📖

mrkenneh

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].