I would like to use this CSS pattern in my Figma project but I stuck. So far, I have not found a description for implementing such a complex pattern.
Is this even possible in Figma? Or is it just embedding as an image?
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI would like to use this CSS pattern in my Figma project but I stuck. So far, I have not found a description for implementing such a complex pattern.
Is this even possible in Figma? Or is it just embedding as an image?
As far as I know, I don't think there's a way to use CSS3 code directly in Figma. Also, there's no automatic way of making custom pattern fills like more advanced vector software such as Illustrator/Inkscape.
However, you could create a similar pattern manually, using a few single rectangles with any fill or gradient you want. You could turn it into a component and duplicate, move and repeat.
An example
The component
Then build a wall by duplicating, moving and repeating the components
Since it's entirely made from one component duplicated, if you edit the original component, then all the other duplicates that make up the pattern will update automatically. This is handy if you need to edit/tweak the colours later.
If you want to use it as a fill for a shape, create a mask