What is Component?
The short answer
A component is a self-contained, reusable piece of interface, like a button, card or navigation bar, with its own structure, style and behaviour.
Component, explained
Sites are assembled from components the way houses are built from standard parts; fix a component once and it is fixed everywhere.
Questions people ask about Component
What is Component?
A component is a self-contained, reusable piece of interface, like a button, card or navigation bar, with its own structure, style and behaviour.
Related terms
React is a JavaScript library for building user interfaces from reusable components that update automatically when their data changes.
Design systemA design system is a shared library of reusable components, tokens and rules that keeps every page of a product consistent and faster to build.
Props and stateIn component frameworks, props are the inputs a component receives from its parent, and state is the data a component manages itself that changes over time.
DOMThe DOM is the browser's live, tree-shaped model of a web page; JavaScript reads and changes the DOM to update what visitors see.
Part of the Web Encyclopedia by Apex Flow Digital. Definitions are general knowledge, kept current, with no invented statistics.