{"id":13622039,"url":"https://github.com/parkerhendo/figma-interface-language","last_synced_at":"2025-04-15T05:33:13.426Z","repository":{"id":45136399,"uuid":"421158584","full_name":"parkerhendo/figma-interface-language","owner":"parkerhendo","description":"A simple DSL for describing interfaces that can be compiled to build a Figma mockup using both existing and new components.","archived":false,"fork":false,"pushed_at":"2022-01-05T23:46:59.000Z","size":686,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T00:55:07.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parkerhendo.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-25T19:29:37.000Z","updated_at":"2025-01-18T17:17:27.000Z","dependencies_parsed_at":"2022-08-26T08:50:42.161Z","dependency_job_id":null,"html_url":"https://github.com/parkerhendo/figma-interface-language","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/parkerhendo%2Ffigma-interface-language","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parkerhendo%2Ffigma-interface-language/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parkerhendo%2Ffigma-interface-language/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parkerhendo%2Ffigma-interface-language/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parkerhendo","download_url":"https://codeload.github.com/parkerhendo/figma-interface-language/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249015965,"owners_count":21198824,"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-08-01T21:01:13.211Z","updated_at":"2025-04-15T05:33:13.043Z","avatar_url":"https://github.com/parkerhendo.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# === Work In Progress ===\n## Figma interface language: Grammar\n\n## Overview\nA simple DSL for describing interfaces that can be compiled to build a Figma mockup using both existing and new components.\n\n**file extension:** *.fil*\n\n##### Example ([Tweet](https://twitter.com/parkerhendo/status/1452407181106614280?s=20))\n\n```javascript\ndefine ButtonColor = \"#000000\"\n\ndeclare Component as \"Header\" {\n  group(direction: \"column\", alignment: \"center\") {\n    Logo\n    Title(title)\n    Subtitle(subtitle)\n  } \n}\n\ndescribe Interface as \"Sign up\" for OnboardingFlow {\n  Header(\n    title=\"Welcome to Acme\"\n    subtitle=\"Create an account to get started\"\n  )\n  Form {\n    Row {\n      Input[\"First name\"]\n      Input[\"Last name\"]\n    }\n    Input[\"Email address\"]\n    Input[\"Create password\"]\n    Input[\"Confirm password\"]\n    Spacer[tokens(\"space8\")]\n    Button[\"Create account\"].apply(buttonColor, background);\n  }\n}\n```\n\n---\n\n| Keyword | Description |\n| ------- | ----------- |\n| define  | Keyword for defining and referencing color and type styles |\n| declare | Keyword for declaring a reusable component |\n| describe | Keyword for describing an interface. This is for when you want to build out an entire \"screen\" (i.e. adding multiple components) as part of a flow. |\n| group    | Native element for declaring an auto-layout frame. Exposes the entire auto-layout API to the user. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparkerhendo%2Ffigma-interface-language","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparkerhendo%2Ffigma-interface-language","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparkerhendo%2Ffigma-interface-language/lists"}