HSE have issued guidance on the use of fireworks. https://www.hse.gov.uk/explosives/fireworks/index.htm
Guidance covers:
https://www.gov.uk/fireworks-the-law