Spider lily is used for several plants, so a safety question needs a botanical name. Keep ornamental material out of food use and consult a reliable plant reference.
Spider lily is an overlapping name
Several plants are called spider lily. A safety question needs the actual genus or species, not a translated nickname. Hymenocallis is one group sold under the name; other spider lilies are different plants.
Keep ornamental material out of food
Do not taste an unidentified bulb, leaf or flower. A plant being sold for home decoration does not establish that its parts are edible. Keep labels with the pots, especially where children or pets can reach them.
Use a species reference
Check an authoritative plant profile for the identified specimen before handling or sharing it. For a suspected exposure, contact an appropriate local poison service or healthcare professional with the plant name or a photograph. A general gardening article cannot establish the outcome of a particular exposure.


Related reading: Lily Types: Groups, Height and Flower Form.
Horticultural reference
North Carolina Extension: Hymenocallis identification and handling