One animated little firework (8)
I believe the answer is:
sparkler
'firework' is the definition.
(sparkler is a kind of firework)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for sparkler that I've seen before include "Hand-held firework" , "Bright gem" , "Diamond (colloq.)" , "Slow-burning firework and a diamond" , "Firework or diamond ring" .)