- You can now create widgets in Figma Design!
- Start by adding
figma
to theeditorType
array in yourmanifest.json
file.
- Start by adding
- There are two new property menu options for
usePropertyMenu
:toggle
andlink
toggle
lets you create a button in the property menu with an on and off statelink
will let you create a button that opens a link in a new tab
- We've added a new
Span
component that lets you style inline ranges of text inside of aText
component.
Span example
<Text
fill="#0F0"
fontSize={20}
fontFamily="Roboto"
fontWeight={400}
textCase="upper"
textDecoration="underline"
>
Hello{' '}
<Span
fontSize={50}
fontFamily="Poppins"
fontWeight={800}
textCase="original"
textDecoration="none"
>
World
<Span fontSize={30} fill="#F00" italic>
d
</Span>
</Span>
</Text>