In Sketch I know how to draw a one-side border (using shadows) and I know how to draw dotted border. But what would be the most elegant way to draw an only-on-one-side dotted border?

One obvious way would be to draw a rectangle and then just put a dotted line over it. This also can be converted to a symbol and looks like a bearable solution. But I guess still it can be done better.

To give you idea what I'm talking about:

enter image description here

  • Not quite sure what you mean, can you post an example? – Digital Lightcraft Aug 1 '17 at 7:28
  • @DigitalLightcraft I've updated question with a screenshot - hopefully it will be clearer this way – shabunc Aug 2 '17 at 16:11

No. We don't have any option in Sketch (version 51.2) to draw a one sided border. As you have mentioned, the only workaround is to draw a dotted line above the rectangle shape.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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