Skip to main content

Multiple independent strokes


Show first post

89 replies

Milos_Danilovic

This would be so useful as all the workarounds confuse developers when they’re inspecting the figma design file e.g. “why does it say this button has a drop shadow but I can’t see it”


DavidDDX
  • New Member
  • 4 replies
  • November 23, 2022

Big +1

Someone on my team came up with a weird union boolean hack where the union group treats the stoke as a fill and you can add another stroke to it. However, this only works with two strokes on a line and not three or more. 😢


This is a big issue for our team as we work a lot with trails on maps and used to be able to edit a single fully styled stroke in other design tools, now it’s a tedious task with multiple layers.


Jihane
  • 2 replies
  • December 8, 2022

+1 – This is very much needed


Katerina_Rososhek

Adding my 5 cents. Multiple strokes are really needed!


aaronjellis
  • New Member
  • 5 replies
  • February 15, 2023

I really wish even if this wasn’t supported, at least an offset would be. Frames in frames is a pain especially for components like buttons.


andredinis

Still waiting for this, nothing to add


Ramida_Juengpaisal1

Still need this too! would be nice to have a proper solution than using the shadow for the strokes.


Arthur_Lambillotte

+1
Coming from Sketch, I was honestly surprised how limited multiple strokes are in Figma. Hope this will be implemented soon. 🤞


Elliott_Andrew

Still waiting for this, Figma!!!


ThomasJ
  • New Member
  • 1 reply
  • March 29, 2023

The recent updates to Figma were great, but the software is still missing basic support for styling multiple different borders/strokes one the same element.

Currently, we need to create a bunch of nesting to apply different styles to each side of a border, which makes handoff impossible because developers need to go through layers and layers of nested groups to get each border definition. It’s also unnatural when it comes to how CSS can handle borders. We already offer multiple box-shadow definitions on the same shape under the Effect panel, why can’t we have the same for border?

Here’s a quick mockup:


dvaliao
Figmate
  • Community Support
  • 4664 replies
  • March 29, 2023

Thanks for your feedback and the idea, @ThomasJ!

We’ve moved it to a similar topic thread. Our team monitors the forums for topics with the most feedback and votes to prioritize accordingly, so it’s best to keep similar ideas consolidated.


Andy_Antonio_Abreu_Hernandez

Trying to convert a button to component properties and the focus variant (auto layout with a stroke and the component inside it is giving me troubles, the selecting matching layers won’t select the icons in that variant and i can’t make component properties out of them.

I believe having a feature like this one would be able to easily make this a non issue.


Alex_Greer

+1 I find myself wishing for this often


Robith_Enha

Easy,

Either you use multiple inner shadows, which are fake strokes, or you use multiple frames to create real strokes.

  1. apply a stroke to a frame, say, 10 px black.
  2. frame that frame to create an outer frame. don’t forget to clip content.
  3. apply a stroke to that outer frame, say, 8 px red.

You’ll get 8px red stroke and underneath it 10 px black.

add more outer frames to get more strokes.


MMM
  • 3 replies
  • July 20, 2023

and add to this gap between strokes


Luciano1
  • 1 reply
  • July 24, 2023

Can’t believe they still don’t add this feature!


Nick_Hogendoorn

Also need this feature, thought might add to this topic since it is still not here…


Unknown_User

This is much needed to support focussed states


  • 2 replies
  • August 24, 2023

+1 This would be huge. Sure, you can use inner shadow or a drop shadow. But in making multiple states using Variants, I want to be able to set a second stroke as a Boolean property.

For example, I am making inputs for our design system currently. Instead of making a focus state for default, active, hover, disabled and error, I would LOVE to be able to just set a focus state as a Boolean that you can turn on and off. But alas, effects cannot be set as Boolean properties.


Dogukan_Yazici

I think they are not going to add this feature 😕


patrickloonstra

Even Sketch has it years and years ago.
I bet the product team know about it, but made a deliberate decision to not have it in Figma. Although, technicaly and design wise it is not a huge thing to build.


recepkutuk
  • New Participant
  • 5 replies
  • September 24, 2023

There may be limitations for this feature, based on the capability of svg format. However, in late 2023, I believe we’re entitled to expect every css-based feature as well from Figma…


  • 1 reply
  • October 4, 2023

The ability to add multiple strokes to text, shapes and frames could be game changing for many areas of design. At the moment you can add multiple strokes of different colours but they can’t have their own properties such as weights, orientation etc.

The ability to have, for example, a circle with a white inside stroke at 4px and also a black outer stroke of 6px - making an overall stroke of 10px but two different colours.


d0n
  • 1 reply
  • November 30, 2023

I’d greatly appreciate having the ability to set border colors individually for each side.


Jurrien
  • 1 reply
  • November 30, 2023

Also waiting (inpatiently) for this.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings