Slice

Wrapper for the Figma Slice.

Props

PropTypeDefaultNote
nameStringThe name to be displayed in the Figma Layers List
widthNumber
heightNumber
styleStyleNot all props

Also, most of the SliceNode fields are supported as props.

Example

<Slice
height={200}
width={200}
/>