New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

figma-ui-kit

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

figma-ui-kit

A set of React components that replicate the Figma UI for plugins

latest
Source
npmnpm
Version
0.3.1
Version published
Weekly downloads
1
-80%
Maintainers
1
Weekly downloads
 
Created
Source

Figma UI kit

A set of React components that replicate the Figma UI for plugins

The problem

As stated by the Figma team in their developers docs, it's good practice to make a plugin's UI consistent, to the degree that it is possible, with the rest of the Figma UI. This almost always leads to a better experience for users.

However, there's no official set of React components to quickly build Figma plugins.

This project is a fork of @yuanqinglim awesome work on create-figma-plugin.

It intends to extract the UI aspect of it while making it compatible with React.js (originally made with Preact).

Getting started

yarn add figma-ui-kit
import React from 'react'
import { Stack, Text, Button } from 'figma-ui-kit'

import 'figma-ui-kit/lib/css/theme.css'
import 'figma-ui-kit/lib/css/base.css'
import 'figma-ui-kit/lib/css/menu.module.css'

const App = () => {
  return (
    <div className="figma-light">
      <Stack direction="column" space="medium">
        <Text>Hello Figma plugin</Text>

        <Stack direction="row" space="small">
          <Button>Get started</Button>
          <Button secondary>Go back</Button>
        </Stack>
      </Stack>
    </div>
  )
}

Supported components

  • Box
  • Banner
  • Button
  • Checkbox
  • Disclosure
  • Divider
  • Dropdown
  • File upload
  • Icon
  • Icon button
  • Icon toggle button
  • Layer
  • Loading indicator
  • Preview
  • Properties section
  • Radio buttons
  • Range slider
  • Search textbox
  • Section
  • Segmented control
  • Selectable item
  • Stack
  • Tabs
  • Text
  • Textbox
  • Toggle

Keywords

components

FAQs

Package last updated on 26 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts