Getting started to create ionic library

Hello,
I am thinking of creating a library for ionic 5 (Angular), any tips on how to start?