codecomponent

noun
UK /ˈkəʊd kəmˌpəʊnənt/
US /ˈkoʊd kəmˌpoʊnənt/

A code component is a small piece of computer code that you can use again and again to build bigger programs.

The programmer reused a code component to add a login button to the app.


OTHER MEANINGS

2. A part of a larger software system that can be replaced or updated on its own.

The team swapped out the payment code component without changing the rest of the system.

3. A reusable block in visual or block-based coding tools that snaps together with others.

In the coding game, she dragged a loop code component into her script.

4. A unit of code that performs one specific job inside a program.

Each code component in the project handles a single task, like saving a file.