loading
loading
A reusable piece of UI, such as a button, card, form, navbar, or whole page section.
Components let you build interfaces from small parts with clear inputs. In React, a component is usually a function that returns UI. Good components are predictable: they accept props, manage only the state they need, and avoid hiding unrelated behavior inside them.
Plainly
Think of Component as a named building block in a big LEGO app. A reusable piece of UI, such as a button, card, form, navbar, or whole page section.
In practice
Use it when you are mapping how the app is structured or explaining a feature to a teammate or agent. In practice, define the owner, input, output, and failure mode before you rely on it.