Frontend

What is Component?

A reusable, self-contained piece of UI that manages its own rendering and behavior.

Definition

In modern frontend development, a component is an independent unit of UI. Components encapsulate HTML structure, styling, and behavior into a reusable piece. They accept inputs (props), maintain internal state, and render output. Component-based architecture (React, Vue, Svelte, Angular) promotes reusability, testability, and separation of concerns. Components can be composed together to build complex UIs.

Try it with a free tool

Keep the references coming

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.