Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/react-figma/figma-ui-components

Unofficial set of Figma UI components
https://github.com/react-figma/figma-ui-components

figma figma-plugins

Last synced: 3 months ago
JSON representation

Unofficial set of Figma UI components

Lists

README

        

# figma-ui-components

[![npm version](https://img.shields.io/npm/v/figma-ui-components.svg)](https://www.npmjs.com/package/figma-ui-components)

An unofficial set of Figma UI components for creating plugins and other purposes.
Based on [Tom Lowry's Figma UI JS/CSS files](https://www.dropbox.com/s/iar45s6h22nupom/figma-plugin-ui-css-0.5.zip?dl=0).

* Uses React ⚛️, styled-components 💅, TypeScript.
* Stateful components, fully controlled outside.
* All components showed at [Storybook](https://figma-ui.lessmess.dev/).

## Installation

Install it with yarn:

```
yarn add figma-ui-components
```

Or with npm:

```
npm i figma-ui-components --save
```

## Usage

### Global styles

```javascript
import * as React from 'react'
import {TypographyStyles, BaseStyles} from "figma-ui-components"

const App = () => {
return <>


...
>
};
```

### Components

```javascript
import * as React from 'react'
import {PrimaryButton, SecondaryButton} from "figma-ui-components"

export const Component = () => {
return <>
Create
Cancel
>
};
```

## Sponsored


Sponsored by Lessmess