Figmagic Example

screenshot of Figmagic Example
figma
react
styled-components

Using Figmagic (simplifying design token generation and asset extraction) with Webpack 5, React 16, Styled Components.

Overview

This repository is a demo of Figmagic, showcasing how a project running Webpack, React, and Styled Components can utilize tokens. It provides pre-compiled tokens and demonstrates the process of converting Figma components into code.

Features

  • Token Usage: Demonstrates how to use tokens in a project running Webpack, React, and Styled Components.
  • React Composition: Shows the React-composed version of the Figma components after minimal coding and correct element closing.
  • Selective Styling: Styles only a few elements, such as setting disabled state on the button and checkbox.

Summary

The Figmagic Example repository demonstrates the usage of Figmagic in a project using Webpack, React, and Styled Components. It provides pre-compiled tokens and showcases the process of converting Figma components into code. The repository also includes a demo of selectively styling elements and a guide for installation.

figma
Figma

Figma is a cloud-based design tool for creating user interfaces, prototypes, and collaboration in real time.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

styled-components
Styled Components

Styled Components is a popular library for styling React components using CSS syntax. It allows you to write CSS in your JavaScript code, making it easier to create dynamic styles that are specific to each component.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.