Hi, welcome to the forum, swollen eyelid
can be secondary to allergy. Which is due to hypersensitivity reaction
(type 1). We cannot rule out the allergen, we can just guide to rule out the probable allergen. Drugs like amoxicillin, pets, certain garments, environmental allergen and certain food (fish, mushroom, peanuts, soy etc) can cause such reaction.
Also swollen eyelids or face are sign of kidney disorder.