snippet

noun

A bit, scrap, or morsel.

noun

A small or mischievous person.

noun

A small part or share; a small piece snipped off.

noun

A small part or piece.

noun

a tiny piece or part

noun

a textfile containing a relatively small amount of code, useless by itself, along with instructions for inserting that code into a larger codebase

noun

a small piece of anything (especially a piece that has been snipped off)