childrenNode[]- An array of nodes that are direct children of this node.
lockedBooleandefault: false- If true, layer is locked and cannot be edited.
backgroundPaint[]deprecated- Background of the node. This is deprecated, as backgrounds for frames are now in the
fills field. backgroundColorColordeprecated- Background color of the node. This is deprecated, as frames now support more than a solid color as a background. Please use the
fills field instead. fillsPaint[]default: []- An array of fill paints applied to the node.
strokesPaint[]default: []- An array of stroke paints applied to the node.
strokeWeightNumber- The weight of strokes on the node.
strokeAlignStringPosition of stroke relative to vector outline, as a string enum.
INSIDE: stroke drawn inside the shape boundaryOUTSIDE: stroke drawn outside the shape boundaryCENTER: stroke drawn centered along the shape boundary
strokeDashesNumber[]default: []- An array of floating point numbers describing the pattern of dash length and gap lengths that the vector path follows. For example a value of
[1, 2] indicates that the path has a dash of length 1 followed by a gap of length 2, repeated. cornerRadiusNumber- Radius of each corner of the frame if a single radius is set for all corners.
rectangleCornerRadiiNumber[]default: same as cornerRadius- Array of length 4 of the radius of each corner of the rectangle, starting in the top left and proceeding clockwise.
cornerSmoothingNumberdefault: 0- A value that lets you control how "smooth" the corners are. Ranges from 0 to 1. 0 means that the corner is perfectly circular. A value of 0.6 means the corner matches the iOS 7 "squircle" icon shape. Other values produce various other curves. See this post for the gory details!
exportSettingsExportSettings[]default: []- An array of export settings representing images to export from the node.
blendModeBlendMode- How this node blends with nodes behind it in the scene (see blend mode section for more details).
preserveRatioBooleandeprecateddefault: false- Keep height and width constrained to same ratio. Deprecated in favor of
targetAspectRatio. targetAspectRatio0- If set, keeps height and width constrained to the target aspect ratio. Unlike
preserveRatio, also works outside of properties panel resizing actions. constraintsLayoutConstraint- Horizontal and vertical layout constraints for the node.
layoutAlignStringDetermines if the layer should stretch along the parent's counter axis. This property is only provided for direct children of auto-layout frames.
In previous versions of auto layout, determined how the layer is aligned inside an auto-layout frame. This property is only provided for direct children of auto-layout frames.
In horizontal auto-layout frames, MIN and MAX correspond to TOP and BOTTOM. In vertical auto-layout frames, MIN and MAX correspond to LEFT and RIGHT.
interactionsInteraction[]- List of prototype interactions on this node, which includes both the method of interaction with this node in a prototype, and the behavior of that interaction.
transitionNodeIDStringdefault: null- Node ID of node to transition to in prototyping.
transitionDurationNumberdefault: null- The duration of the prototyping transition on this node (in milliseconds).
transitionEasingEasingTypedefault: null- The easing curve used in the prototyping transition on this node.
opacityNumberdefault: 1- Overall opacity of paint (colors within the paint can also have opacity values which would blend with this).
absoluteBoundingBoxRectangle- Bounding box of the node in absolute space coordinates.
absoluteRenderBounds0- The actual bounds of a node accounting for drop shadows, thick strokes, and anything else that may fall outside the node's regular bounding box defined in
x, y, width, and height. The x and y inside this property represent the absolute position of the node on the page. This value will be null if the node is invisible. sizeVector- Width and height of element. This is different from the width and height of the bounding box in that the absolute bounding box represents the element after scaling and rotation. Only present if
geometry=paths is passed. minWidthNumber | nulldefault: null- The minWidth of the frame, or null if not set.
maxWidthNumber | nulldefault: null- The maxWidth of the frame, or null if not set.
minHeightNumber | nulldefault: null- The minHeight of the frame, or null if not set.
maxHeightNumber | nulldefault: null- The maxHeight of the frame, or null if not set.
relativeTransformTransform- The top two rows of a matrix that represents the 2D transform of this node relative to its parent. The bottom row of the matrix is implicitly always
(0, 0, 1). Use to transform coordinates in geometry. Only present if geometry=paths is passed. clipsContentBoolean- Whether or not this node clips content outside of its bounds.
layoutModeStringdefault: NONEWhether this layer uses auto-layout to position its children.
NONEHORIZONTALVERTICALGRID
layoutSizingHorizontalStringThe horizontal sizing setting on this auto-layout frame or frame child.
HUG is only valid on auto-layout frames and text nodes. FILL is only valid on auto-layout frame children.
layoutSizingVerticalStringThe vertical sizing setting on this auto-layout frame or frame child.
HUG is only valid on auto-layout frames and text nodes. FILL is only valid on auto-layout frame children.
layoutWrapStringWhether this auto-layout frame has wrapping enabled.
primaryAxisSizingModeStringdefault: AUTOWhether the primary axis has a fixed length (determined by the user) or an automatic length (determined by the layout engine). This property is only applicable for auto-layout frames.
counterAxisSizingModeStringdefault: AUTOWhether the counter axis has a fixed length (determined by the user) or an automatic length (determined by the layout engine). This property is only applicable for auto-layout frames.
primaryAxisAlignItemsStringdefault: MINDetermines how the auto-layout frame’s children should be aligned in the primary axis direction. This property is only applicable for auto-layout frames.
MINCENTERMAXSPACE_BETWEEN
counterAxisAlignItemsStringdefault: MINDetermines how the auto-layout frame’s children should be aligned in the counter axis direction. This property is only applicable for auto-layout frames.
counterAxisAlignContentStringdefault: AUTODetermines how the auto-layout frame’s wrapped tracks should be aligned in the counter axis direction. This property is only applicable for auto-layout frames with layoutWrap: "WRAP".
gridRowCountNumber- The number of rows in the grid layout. This property is only applicable for auto-layout frames with
layoutMode: "GRID". gridColumnCountNumber- The number of columns in the grid layout. This property is only applicable for auto-layout frames with
layoutMode: "GRID". gridRowGapNumberdefault: 0- The distance between rows in the grid layout. This property is only applicable for auto-layout frames with
layoutMode: "GRID". gridColumnGapNumberdefault: 0- The distance between columns in the grid layout. This property is only applicable for auto-layout frames with
layoutMode: "GRID". gridColumnsSizingString- The string for the CSS grid-template-columns property. This property is only applicable for auto-layout frames with
layoutMode: "GRID". gridRowsSizingString- The string for the CSS grid-template-rows property. This property is only applicable for auto-layout frames with
layoutMode: "GRID". gridChildHorizontalAlignStringdefault: AUTODetermines how a GRID frame's child should be aligned in the horizontal direction within its grid area. This property is only applicable for direct children of frames with layoutMode: "GRID".
gridChildVerticalAlignStringdefault: AUTODetermines how a GRID frame's child should be aligned in the vertical direction within its grid area. This property is only applicable for direct children of frames with layoutMode: "GRID".
gridRowSpanNumberdefault: 1- The number of rows that a GRID frame's child should span. This property is only applicable for direct children of frames with
layoutMode: "GRID". gridColumnSpanNumberdefault: 1- The number of columns that a GRID frame's child should span. This property is only applicable for direct children of frames with
layoutMode: "GRID". gridColumnAnchorIndexNumberdefault: 0- The index of the column that a GRID frame's child should be anchored to. This property is only applicable for direct children of frames with
layoutMode: "GRID". gridRowAnchorIndexNumberdefault: 0- The index of the row that a GRID frame's child should be anchored to. This property is only applicable for direct children of frames with
layoutMode: "GRID". paddingLeftNumberdefault: 0- The padding between the left border of the frame and its children. This property is only applicable for auto-layout frames.
paddingRightNumberdefault: 0- The padding between the right border of the frame and its children. This property is only applicable for auto-layout frames.
paddingTopNumberdefault: 0- The padding between the top border of the frame and its children. This property is only applicable for auto-layout frames.
paddingBottomNumberdefault: 0- The padding between the bottom border of the frame and its children. This property is only applicable for auto-layout frames.
horizontalPaddingNumberdeprecateddefault: 0- The horizontal padding between the borders of the frame and its children. This property is only applicable for auto-layout frames. Deprecated in favor of setting individual paddings.
verticalPaddingNumberdeprecateddefault: 0- The vertical padding between the borders of the frame and its children. This property is only applicable for auto-layout frames. Deprecated in favor of setting individual paddings.
itemSpacingNumberdefault: 0- The distance between children of the frame. Can be negative. This property is only applicable for auto-layout frames.
counterAxisSpacingNumberdefault: 0- The distance between wrapped tracks of an auto-layout frame. This property is only applicable for auto-layout frames with
layoutWrap: "WRAP". layoutPositioningStringdefault: AUTODetermines whether a layer's size and position should be determined by auto-layout settings or manually adjustable.
itemReverseZIndexBooleandefault: false- Determines the canvas stacking order of layers in this frame. When true, the first layer will be draw on top. This property is only applicable for auto-layout frames.
strokesIncludedInLayoutBooleandefault: false- Determines whether strokes are included in layout calculations. When true, auto-layout frames behave like css
box-sizing: border-box. This property is only applicable for auto-layout frames. layoutGridsLayoutGrid[]default: []- An array of layout grids attached to this node (see layout grids section for more details).
GROUP nodes do not have this attribute. overflowDirectionStringdefault: NONEDefines the scrolling behavior of the frame, if there exist contents outside of the frame boundaries. The frame can either scroll vertically, horizontally, or in both directions to the extents of the content contained within it. This behavior can be observed in a prototype.
HORIZONTAL_SCROLLINGVERTICAL_SCROLLINGHORIZONTAL_AND_VERTICAL_SCROLLINGNONE
effectsEffect[]default: []- An array of effects attached to this node (see effects section for more details).
isMaskBooleandefault: false- Does this node mask sibling nodes in front of it?
isMaskOutlineBooleandeprecateddefault: false- Whether the mask ignores fill style (e.g. gradients) and effects. This property is deprecated; please use the
maskType field instead (isMaskOutline=true corresponds to maskType="VECTOR"). maskTypeStringIf this layer is a mask, this property describes the operation used to mask the layer's siblings. The value may be one of the following:
ALPHA: the mask node's alpha channel will be used to determine the opacity of each pixel in the masked result.VECTOR: if the mask node has visible fill paints, every pixel inside the node's fill regions will be fully visible in the masked result. If the mask has visible stroke paints, every pixel inside the node's stroke regions will be fully visible in the masked result.LUMINANCE: the luminance value of each pixel of the mask node will be used to determine the opacity of that pixel in the masked result.
stylesMap<String, String>- A mapping of a style_type to style ID (see Style for more details) of styles present on this node. The style ID can be used to look up more information about the style in the top-level styles field.
devStatus0default: null- Whether the node is marked
Ready for dev or Completed. If the node does not have a status, the property is null. annotationsAnnotation[]private betadefault: []- An array of annotations displaying notes and pinned properties of nodes in Dev Mode. Currently a maximum of 1 annotation is supported.