- Building your blocks with top triangle, content and bottom triangle.
- Apply the Autolaout for the whole frame component.
- Place the constant where we want to use it.
- Adjust spacer of the triangle by typing any text inside the textbox of the constant. Hide/Show top/bottom triangle base on the position.