Skip to content

Latest commit

History

History

README.md

grida CLI

Visit https://grida.co/cli for more information.

Installation

npm install -g grida

Commands

Commands
grida code reactconvert input uri (file or url) to codedesignto react https://www.figma.com/files/XXX
grida code rnconvert input uri (file or url) to codedesignto rn https://www.figma.com/files/XXX
grida code vueconvert input uri (file or url) to codegrida code vue https://www.figma.com/files/XXX
grida code svelteconvert input uri (file or url) to codegrida code svelte https://www.figma.com/files/XXX
grida code solidconvert input uri (file or url) to codegrida code flutter https://www.figma.com/files/XXX
grida code flutterhelpdesignto flutter https://www.figma.com/files/XXX
grida code authsignin to design servicesauto | figma | sketch | xd
grida code initconfigure the preferences

Args

Flags
--frameworkspecify the target frameworkflutter | react | react-native | svelte | vue | vanilla*
--configspecify the framework config json fileframework.config.json
--design-originspecify the input design originauto | figma | sketch | xd
--personal-access-tokenaccess token
--useraccount name if signed-in with multiple accounts

Output

--output, -o <path>

  • <path>: the output file path
  • <dir>: the output files dir
  • dry : do not write files. log the output