In addition to using the Shape Tools, the Pen Tool allows you draw custom shapes and icons using Figma's Vector Networks.
To use the pen tool:
- Select the Pen, or type "P"
- Click to plot points
Also, check out The Bézier Game for a fun way to master the pen tool.