Boil a kettle ready to rinse the onions to take away some of the harshness.
Thinly slice the onions with a sharp knife or mandolin then rinse with the boiled water.
Combine the vinegar, sugar & salt in a pan and heat until dissolved take off the heat until cooled.
Add your aromatics to the vinegar mixture.
Pack the cooled onions into a suitable (sterilised) jar and pour over the vinegar mixture. Once cool pop in the fridge for a couple of hours and they are ready to enjoy. They'll keep in the fridge for up to 6 months but use within a couple of weeks once open.