Skip to content
Console CLI

Console CLI

by @planetabhi

CLI for Figma. Lint, list, create, get info, check analytics, and more.

FreeFigma

Installs

85

Likes

26

Users

1,040

Views

9,028

Preview

Console CLI preview

About this plugin

Console CLI lets you control Figma using commands. You can list fonts, styles, and components, create shapes, get details about selected elements, check file analytics, and view user info.Commands:help : See available commandsls : Lists data related to fonts, styles, or componentsls fonts : List all fonts used in the filels styles : List all styles used in file filels components : List all components in the fileshape : Create a new shapes based on the specified typeshape rect [x] [y] : Create rectangleshape circle [x] [y] : Create circleshape ellipse [x] [y] : Create ellipseshape polygon [x] [y] : Create polygonshape star [x] [y] : Create starselection : Info about the currently selected nodesselection --verbose : Additional details about the selectionanalytics : Retrieve file analyticslint : Audit document for common issueslint : Show usage and available ruleslint page : Audit the current pagelint selection : Audit the current selection (and its descendants)lint all : Audit the entire filelint --rule=naming,smallText : Run only the listed ruleslint --limit=20 --page=2 : Paginate results within each ruleAvailable rules: detached, naming, smallText, emptyText, hidden, zeroSizegoto : Switch to the right page, select, and zoom to the nodefind : Find nodes by name and/or typefind ` : Match nodes on the current page whose name contains `find --type=TEXT` : Filter by node type (e.g. `TEXT`, `FRAME`, `INSTANCE)find --all : Search across every pagefind --select : Select and zoom to the matches on canvascolors : List unique solid fill colors in usecolors --strokes : List stroke colors instead of fillscolors --all : Scan the entire file (default is the current page)unused : List local styles and components that aren't referenced anywherewhoami : Retrieves info about the current userclear : Clear the consoleexit : Close the plugin

More software development plugins

View all