Figma Support Forum

Feature Request: stroke top / stroke bottom / stroke left / stroke right

You can do it similar to how you implemented separate Corner Radius controls.

I know there are “alternative” ways to do it, the most popular being the “drop shadow” but

  1. CSS would allow you to do border-top/left/bottom/right and the design tool should mimic behavior like this.
  2. It’s confusing for dev handoff to use shadows instead of more semantic uses.
  3. It’s cleaner to control using stroke controls than some hacky workaround with shadows.
  4. Works great for one side, but what about 2 sides? 3?
  5. Does not honor border radius very well.
    Chris Clark

A post was merged into an existing topic: Partial CSS border support (independent borders for sides)