In Affinity designer you use a star, choose the point count, then round the inside points and round the outside points. Code is a whole different ballgame.
![](https://avatars.slack-edge.com/2022-05-14/3520233606038_e4d10c215d5ef0e4c503_72.jpg)
writen by LaLa Artica
João Amaro made this with figma LaLa Artica. But transforming that to code is another story haha
![](https://avatars.slack-edge.com/2021-07-28/2322213143667_f9ad35c2dec28da258a5_72.jpg)
writen by Tiago Ferreira
Thanks <@U02NH9BN5FY>. I tried using clip but could not figure out to to get this result… But João Amaro found a website. What was it João Amaro?
![](https://avatars.slack-edge.com/2021-07-28/2322213143667_f9ad35c2dec28da258a5_72.jpg)
writen by Tiago Ferreira
and place top: 0 right: 0
- translate x & y by =50% for perfect positioning at the edge
![](https://avatars.slack-edge.com/2022-04-10/3372411479988_0515538a533125c46953_72.png)
writen by WBE User
Tiago Ferreira if you have the shape in Figma, and João Amaro used the Figma vectors, you can just right click on the shape, Copy > Copy as SVG
Paste the copied text into a file in your project, like StarShape.svg
or use it as the returned JSX of a StarShape.tsx
React component.
![](https://avatars.slack-edge.com/2022-01-11/2938203762850_8a09de27b9f55a9fca64_72.png)
writen by Luca Restagno (ikoichi on Twitter)
Thanks Luca Restagno (ikoichi on Twitter). that’s what I endup doing and it worked really well
![](https://avatars.slack-edge.com/2021-07-28/2322213143667_f9ad35c2dec28da258a5_72.jpg)
writen by Tiago Ferreira