2.1.0 • Published 5 years ago

figma-styled-components v2.1.0

Weekly downloads
17
License
ISC
Repository
github
Last release
5 years ago

Figma Styled Components

A set of styled components modeled after the Figma UI

image

Usage

npm i figma-styled-components --save

To test this library I've created this Figma plugin: fig-ui, that uses the components to recreate the Figma sidebar. You can clone the repo and checkout the code to see some example of the components in an actual Figma plugin.

import {Button, Checkbox, Input, Label, SectionTitle, Select, Switch, Text} from 'figma-styled-components`

<Button> I am a button</Button>

...

Documentation

Current documentation is in storybook project here

Locally

Install dependency with yarn and then run yarn storybook to build the storybook for this project

Build

You can build the project with yarn build

Todo

  • Refactor to functional components
  • Refactor select, handle default option better,
  • Document component interfaces better, with code examples (maybe switch away from storybook)
  • Expand demo plugin that uses components
  • Use a theme wrapper
  • Handle OptionStrip default selection better
  • Tabs
  • Decide if Text components should accept color
  • Select with Icon, in Select trigger as well as in select option
2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.0

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago