1

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?

1 Answer 1

1

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

enter image description here

Then build a wall by duplicating, moving and repeating the components

enter image description here

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.

enter image description here

If you want to use it as a fill for a shape, create a mask

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.