← All notes

React components: reusable UI functions

Components are reusable UI elements for your app, built as JavaScript functions that return markup. [S1]

What a component is

Components are one of the core concepts of React and the foundation for building user interfaces. [S1]

React component names must start with a capital letter or they will not work. [S1]

Components return JSX markup, which looks like HTML inside JavaScript. [S1]

Thinking in components

To implement a UI in React you usually follow the same five steps, starting by naming components in a mockup. [S2]

You describe visual states for each component, then connect them so data flows through the tree. [S2]

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted).

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: React docs (react.dev), Your First Component – React, CC BY 4.0 (reactjs/react.dev LICENSE-DOCS); React docs (react.dev), Thinking in React – React, CC BY 4.0 (reactjs/react.dev LICENSE-DOCS).

Cite this

Permanent ID: iil:note:ry37vewm

iinventedlight. 2026. "React components: reusable UI functions." iinventedlight Library, iil:note:ry37vewm, version of 2026-11-06. https://iinventedlight.com/library/notes/react-components-basics/. License: CC-BY-4.0.

@misc{iil_note_ry37vewm,
  author = {{iinventedlight}},
  title = {{React components: reusable UI functions}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-06},
  url = {https://iinventedlight.com/library/notes/react-components-basics/},
  note = {Permanent ID iil:note:ry37vewm. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt. This page in Markdown: /library/notes/react-components-basics.md.