create_rectangle
Create styled rectangles in Figma, including glassmorphism effects with customizable fill, stroke, shadow, and blur parameters.
Instructions
Create a styled rectangle. Full glassmorphism support.
Glassmorphism recipe:
hexColor='#FFFFFF', fillOpacity=0.08, cornerRadius=16,
stroke='#FFFFFF', strokeOpacity=0.15, strokeWidth=1,
backgroundBlur=20,
shadow={color:'#000',x:0,y:8,blur:32,spread:0,opacity:0.4}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| blur | No | ||
| name | No | Rectangle | |
| width | No | ||
| height | No | ||
| noFill | No | ||
| shadow | No | ||
| stroke | No | ||
| opacity | No | ||
| gradient | No | ||
| hexColor | No | #FF0000 | |
| fillOpacity | No | ||
| innerShadow | No | ||
| strokeWidth | No | ||
| cornerRadius | No | ||
| strokeOpacity | No | ||
| backgroundBlur | No |