Skip to content

Files

cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 6, 2022
Aug 6, 2022
Dec 4, 2022
Aug 12, 2022
Aug 8, 2022
Jul 28, 2022
Aug 11, 2022
Aug 1, 2022
Dec 4, 2022
Aug 1, 2022
Aug 1, 2022
Aug 9, 2022
Aug 9, 2022
Aug 9, 2022
Aug 2, 2022
Aug 1, 2022
Aug 9, 2022
Aug 9, 2022
Aug 12, 2022
Aug 6, 2022
Aug 3, 2022
May 31, 2023
Aug 12, 2022
Aug 1, 2022
Aug 11, 2022

grida CLI

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

Installation

npm install -g grida

Commands

Commands
grida code react convert input uri (file or url) to code designto react https://www.figma.com/files/XXX
grida code rn convert input uri (file or url) to code designto rn https://www.figma.com/files/XXX
grida code vue convert input uri (file or url) to code grida code vue https://www.figma.com/files/XXX
grida code svelte convert input uri (file or url) to code grida code svelte https://www.figma.com/files/XXX
grida code solid convert input uri (file or url) to code grida code flutter https://www.figma.com/files/XXX
grida code flutter help designto flutter https://www.figma.com/files/XXX
grida code auth signin to design services auto | figma | sketch | xd
grida code init configure the preferences

Args

Flags
--framework specify the target framework flutter | react | react-native | svelte | vue | vanilla *
--config specify the framework config json file framework.config.json
--design-origin specify the input design origin auto | figma | sketch | xd
--personal-access-token access token
--user account 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