software component

noun
UK /ˈsɒftweə kəmˈpəʊnənt/
US /ˈsɔːftwer kəmˈpoʊnənt/

A software component is a small building block of a computer program that does one job.

The login button is a software component that checks your password.


OTHER MEANINGS

2. A reusable piece of code that can be plugged into many different programs.

The team reused the same software component in three apps.

3. A part of a larger system that can be replaced without changing the rest.

We swapped the old payment software component for a newer one.

4. A packaged unit that other programs can call to do a task.

The weather software component fetches the forecast for any city.