{"id":22893340,"url":"https://github.com/yet3/figma-svg-to-react","last_synced_at":"2025-03-31T22:32:42.604Z","repository":{"id":58935733,"uuid":"523846963","full_name":"yet3/figma-svg-to-react","owner":"yet3","description":"Figma plugin to transform vector to react component","archived":false,"fork":false,"pushed_at":"2024-05-02T12:41:36.000Z","size":664,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-12T19:14:20.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"figma-svg-to-react-api.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yet3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-11T19:38:58.000Z","updated_at":"2024-05-02T12:41:40.000Z","dependencies_parsed_at":"2024-10-27T11:30:28.948Z","dependency_job_id":null,"html_url":"https://github.com/yet3/figma-svg-to-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yet3%2Ffigma-svg-to-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yet3%2Ffigma-svg-to-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yet3%2Ffigma-svg-to-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yet3%2Ffigma-svg-to-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yet3","download_url":"https://codeload.github.com/yet3/figma-svg-to-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552210,"owners_count":20795779,"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","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-12-13T23:14:05.302Z","updated_at":"2025-03-31T22:32:42.584Z","avatar_url":"https://github.com/yet3.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n \u003cimg src=\"./public/icon.png\" alt=\"Plugin icon\" width=\"100px\" /\u003e \n \u003cp\u003eSVG to React / Native / SolidJS\u003c/p\u003e\n\u003c/h1\u003e\n\nA Figma plugin that lets you easily optimize and transform multiple SVG files into JSX components.\n\n**Get the plugin [here](https://www.figma.com/community/plugin/1139659790182545298)**\n\n![Plugin banner](./public/banner.png)\n\n### Table of Contents\n- [Features](#features)\n- [Usage](#usage)\n- [Made with](#made-with)\n- [Todo](#todo)\n- [Credits](#credits)\n\n## Features\n- Optimizes and transforms SVGs into framework-specific components for [React](https://react.dev/), [React Native](https://reactnative.dev/), and [SolidJS](https://www.solidjs.com/)\n- Utilizes [SVGO](https://svgo.dev/) to optimize SVGs\n- Formats code using [Prettier](https://prettier.io/)\n- Allows batch transformation of multiple SVGs at once\n- Provides various options for SVG transformation\n\n## Usage\n1. Select at least one node (any item that figma can export).\n2. Run the \"SVG to React/Native/SolidJS\" plugin.\n3. Open the tab for your desired framework (default: React).\n4. Adjust options to your preference.\n5. \"Save all SVGs as files\" or open individual SVGs to copy/save.\n\n## Made with\n- [pnpm](https://pnpm.io/)\n- [turborepo](https://turbo.build/repo/docs)\n- [biomejs](https://biomejs.dev/)\n- [vite](https://vite.dev/)\n- [vitest](https://vitest.dev/)\n- [typescript](https://www.typescriptlang.org/)\n- [solidjs](https://www.solidjs.com/)\n- [tailwindcss](https://tailwindcss.com/)\n\n## TODO\n- Add more images\n- Configurable Prettier settings per framework\n- Customizable SVGO plugin settings\n\n## Credits\n- [SaraVieira/svg-to-jsx](https://github.com/SaraVieira/svg-to-jsx)\n- [gregberge/svgr](https://github.com/gregberge/svgr)\n- [svg/svgo](https://github.com/svg/svgo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyet3%2Ffigma-svg-to-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyet3%2Ffigma-svg-to-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyet3%2Ffigma-svg-to-react/lists"}