{"id":13765224,"url":"https://github.com/jhardy/figma-styled-components","last_synced_at":"2025-07-22T13:05:09.391Z","repository":{"id":35042778,"uuid":"199893813","full_name":"jhardy/figma-styled-components","owner":"jhardy","description":"Figma UI styled components","archived":false,"fork":false,"pushed_at":"2023-01-05T16:18:49.000Z","size":9880,"stargazers_count":61,"open_issues_count":26,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T14:07:41.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://figma-styled-components.netlify.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhardy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELONG.MD","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-31T16:40:18.000Z","updated_at":"2025-05-02T21:37:02.000Z","dependencies_parsed_at":"2023-01-15T12:45:48.623Z","dependency_job_id":null,"html_url":"https://github.com/jhardy/figma-styled-components","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jhardy/figma-styled-components","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhardy%2Ffigma-styled-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhardy%2Ffigma-styled-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhardy%2Ffigma-styled-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhardy%2Ffigma-styled-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhardy","download_url":"https://codeload.github.com/jhardy/figma-styled-components/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhardy%2Ffigma-styled-components/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266499036,"owners_count":23938778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T16:00:35.644Z","updated_at":"2025-07-22T13:05:09.361Z","avatar_url":"https://github.com/jhardy.png","language":"TypeScript","funding_links":[],"categories":["模板和UI组件包","TypeScript","Templates \u0026 UI Kits"],"sub_categories":[],"readme":"# Figma Styled Components\nA set of styled components modeled after the Figma UI\n\n![image](https://user-images.githubusercontent.com/170681/62256697-2b65f500-b3b7-11e9-9937-7673ab072c84.png)\n\n## Usage\n\n```npm i figma-styled-components --save```\n\nTo test this library I've created this Figma plugin: [fig-ui](https://github.com/jhardy/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.\n\n```\n\nimport {Button, Checkbox, Input, Label, SectionTitle, Select, Switch, Text} from 'figma-styled-components`\n\n\u003cButton\u003e I am a button\u003c/Button\u003e\n\n...\n\n```\n\n## Documentation\n\nCurrent documentation is in [storybook project here](https://determined-borg-d1ccaa.netlify.com/)\n\n\n#### Locally\nInstall dependency with `yarn` and then run `yarn storybook` to build the storybook for this project\n\n##### Build\nYou can build the project with `yarn build`\n\n### Todo\n* Refactor to functional components\n* Refactor select, handle default option better,\n* Document component interfaces better, with code examples (maybe switch away from storybook)\n* Expand demo plugin that uses components\n* Use a theme wrapper\n* Handle OptionStrip default selection better\n* Tabs\n* Decide if Text components should accept color\n* Select with Icon, in Select trigger as well as in select option\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhardy%2Ffigma-styled-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhardy%2Ffigma-styled-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhardy%2Ffigma-styled-components/lists"}